PetrPPetrov / beautiful-capi

Beautiful Capi is a tool which automates the creation of compiler-independent and binary compatible C++ libraries across different C++ compilers
GNU General Public License v3.0
33 stars 4 forks source link

Test with different compilers (Borland, GCC, Digital Mars or some other compilers) #16

Closed PetrPPetrov closed 7 years ago

PetrPPetrov commented 7 years ago

Compile libraries by one compiler, compile the client examples by another compiler. Verify that it works.

PetrPPetrov commented 7 years ago

Tested on down_cast example: down_cast.dll was built by Microsoft Visual Studio 2015, down_cast_client.exe was built by GCC 5.4.0 and Clang 3.8.1 (Cygwin) - both worked fine, except manual change libdown_cast.so => down_cast.dll, because Cygwin no longer defines _WIN32 symbol.