gcc5 and std::string

David Abdurachmanov david.abdurachmanov@gmail.com
Fri Sep 11 13:55:00 GMT 2015


> On 11 Sep 2015, at 15:51, PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> wrote:
> 
> In pytango the symbol emited by gcc5.2  is the once without the __cxx11 namespace
> 
> _ZN5Tango17ranges_type2constIsE3strE -> Tango::ranges_type2const<short>::str
> 
> but if I understand correctly this string is cxx11 abi with the same old name mangled.

Are both compiled with -std=c++11 (or above)?

I see that tango specifies -std=c++11

libtool: link: g++ -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -std=c++11 -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -Wl,-z
-Wl,relro -o .libs/notifd2db notifd2db.o

david


More information about the Gcc-help mailing list