I've been compiling Codelite from git for a while now and have tried clang as well. Everything works fine when it's compiled with gcc, but I get the message below when it's been compiled with clang. I've set CC=clang, CXX=clang++ and CPP=clang++. I run cmake without any options at all except that I use Ninja to build (-GNinja). It build and installs fine. $ codelite Fatal Error: Mismatch between the program and library build versions detected. The library used 3.0 (wchar_t,compiler with C++ ABI 1011,wx containers,compatible with 2.8), and your program used 3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 2.8). [1] 5029 abort (core dumped) codelite
Is there an urgent reason to compile codelit with clang instead of with gcc?
Summary: Mismatch between the program and library build versions detected => Mismatch between the program and library build versions detected when compiling codelite with clang instead of with gccKeywords: (none) => NEEDINFOCC: (none) => marja11, thierry.vignaud
(In reply to Marja Van Waes from comment #1) > Is there an urgent reason to compile codelit with clang instead of with gcc? Marja, no. I'm just testing. As mentioned, gcc works fine while with clang I get the error mentioned. Cheers, Stig
gcc defines _GXX_ABI_VERSION as something else than clang. Added patch from Fedora to wxgtk and wxgtk2.8 to not abort when ABI check fails.
(In reply to Jani Välimaa from comment #3) > gcc defines _GXX_ABI_VERSION as something else than clang. > > Added patch from Fedora to wxgtk and wxgtk2.8 to not abort when ABI check > fails. Thanks :-) @ Stig I assume you're fine with this bug being closed, now that the mismatch no longer blocks compilation. Closing, feel free to reopen if I'm wrong.
Resolution: (none) => FIXEDStatus: NEW => RESOLVEDSummary: Mismatch between the program and library build versions detected when compiling codelite with clang instead of with gcc => Mismatch between the program and library build versions blocks compiling codelite with clang instead of with gcc