Hi, I am packaging a program which uses wxWidgets and also needs c++11 regex support. This means I have to use gcc >= 5 because the default gcc in Leap (4.8) is completely broken with regex (no errors when compiling but when starting the program it crashes with "std::regex exception"). I am using wxWidgets 3 and gcc5:
BuildRequires: wxWidgets-devel >= 3 %if 0%{?suse_version} <= 1320 BuildRequires: gcc5-c++ %else BuildRequires: gcc-c++ >= 5 %endif
This seems to work because one of the built binaries (which does not use wxWidgets but std::regex) now works, but the binary using wxWidgets now crashes with this error:
Fatal Error: Mismatch between the program and library build versions detected. The library used 3.0 (wchar_t,compiler with C++ ABI 1002,STL containers,compatible with 2.8), and your program used 3.0 (wchar_t,compiler with C++ ABI 1009,STL containers,compatible with 2.8).
So my question is: Is there a way (for me) to fix this? Because the only way I can imagine is to rebuild wxWidgets3 for Leap. Regards, Ferdinand -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org