trivstring.h?

Jean-Marc Lasgouttes lasgouttes at lyx.org
Mon Nov 23 21:25:05 UTC 2020


Le 23/11/2020 à 22:17, Yuriy Skalko a écrit :
> The comment in trivstring.h says:
> 
> "It should be removed as soon as LyX requires C++11, and all supported 
> STL implementations provide a C++11 conformant std::basic_string."
> 
> LyX successfully compiles with empty trivstring.h. Is it the time to get 
> rid of it?
> 
> Yuriy

This ABI is only available starting with gcc 5:
https://developers.redhat.com/blog/2015/02/05/gcc5-and-the-c11-abi/

Without it, gcc is not thread-safe, as weird as it may seem.

So It seems that we have to keep this a bit longer (unless we require 
gcc 5).

JMarc


More information about the lyx-devel mailing list