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
build: add linux premake5 binary

Add linux premake binary for 32 and 64 bit Linuxes. premake5-linux
script does a naive 32/64 bit test, and runs the appropriate binary.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
ParserGen: Linux binding generation

Add code to generate Linux bindings.

This is experimental for now.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
CppParser: add generated linux bindings

Add C# Bindings for CppParser for 64 bit Linux.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
build: use linux bindings

Use CppParser C# bindings for linux when compiling on Linux.

Note: this always uses 64 bit version for now.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
docs: update build instructions in GettingStarted.md

Update build instructions in GettingStarted.md.

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

Linux support
Removed the releases section from the readme as they're so old as to be useless.
 Remove the experimental warning from the OSX build as we're starting to use it in production.
Merge pull request #294 from ddobrev/master

Extended the collection of library symbols to handle ELF shared objects
Added an option for supporting deprecated C++ constructs.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>