build: fix clang linking

At least on linux with gcc the linking order of the libraries is
important. Fix linking clang libraries by changing the link order.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
build: fix llvm linking

At least on linux with gcc the linking order of the libraries is
important. Fix linking llvm libraries by changing the link order.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
build: fix llvm & clang linking order

At least on linux with gcc the linking order of the libraries is
important. Fix linking llvm and clang libraries by changing the link
order: clang libs first, llvm libraries second.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
Fix windows bindings path

The path for generated windows bindings has changed to i686-pc-win32-msvc, but
the existing files and the build system has not been changed.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
Regenerate windows bindings

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
Docs: Update LLVM and Clang git commit ids

The svn revision number was updated earlier, but the git commit ids were
not updated.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
Add -fpermissive to gcc cflags

We again have code that does not compile with gcc:

../../../src/CppParser/AST.h:770:19: error: declaration of
‘CppSharp::CppParser::AST::MacroLocation
CppSharp::CppParser::AST::PreprocessedEntity::MacroLocation’
[-fpermissive]
     MacroLocation MacroLocation;
                   ^
../../../src/CppParser/AST.h:756:12: error: changes meaning of
‘MacroLocation’ from ‘enum class
CppSharp::CppParser::AST::MacroLocation’ [-fpermissive]
 enum class MacroLocation

Instead of trying to figure out a good name for the property, and to
avoid the same issues in the future, let's just add the -fpermissive
flag back.

Maybe it can be removed in the future if and when Linux support works
well and is supported by the build test bot.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
Fix compilation with gcc

Fix error:

../../../src/CppParser/AST.cpp:566:21: error: ‘MacroLocation’ is not a
class, namespace, or enumeration
       MacroLocation(MacroLocation::Unknown) {}

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
Merge pull request #292 from tomba/fixes

Fixes