[LyX/master] Do not return copies of string members

Jean-Marc Lasgouttes lasgouttes at lyx.org
Fri May 12 07:22:03 UTC 2023


Le 11/05/2023 à 23:04, Enrico Forestieri a écrit :
> Anyway, I don't think the autoconf test is broken because:

 From what I read here:
https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
this define is merely a default. It looks like one can choose to change 
it, as long as all the libraries you use (e.g. Qt) do the same.

I have not been able to find the relevant git commit explining why this 
was done.

JMarc

> $ diff -up 
> /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/x86_64-pc-cygwin/bits/c++config.h /usr/lib/gcc/x86_64-w64-mingw32/11/include/c++/x86_64-w64-mingw32/bits/c++config.h | grep -C1 _GLIBCXX_USE_CXX11_ABI
> 
>   #ifndef _GLIBCXX_USE_CXX11_ABI
> -# define _GLIBCXX_USE_CXX11_ABI 0
> +# define _GLIBCXX_USE_CXX11_ABI 1
>   #endif
> 



More information about the lyx-devel mailing list