This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc5 and std::string


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]