This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc5 and std::string
- From: David Abdurachmanov <david dot abdurachmanov at gmail dot com>
- To: PICCA Frederic-Emmanuel <frederic-emmanuel dot picca at synchrotron-soleil dot fr>
- Cc: Jonathan Wakely <jwakely dot gcc at gmail dot com>, gcc-help <gcc-help at gcc dot gnu dot org>, "taurel at esrf dot eu" <taurel at esrf dot eu>, Avi Kivity <avi at cloudius-systems dot com>
- Date: Fri, 11 Sep 2015 15:55:18 +0200
- Subject: Re: gcc5 and std::string
- Authentication-results: sourceware.org; auth=none
- References: <A2A20EC3B8560D408356CAC2FC148E53B2F82EE1 at SUN-DAG3 dot synchrotron-soleil dot fr> <55F2D60E dot 8060707 at cloudius-systems dot com> <CAH6eHdQsk5MK752bUbBad57VQc8dJeOqFAXtPv8svBvzRfChSw at mail dot gmail dot com> <A2A20EC3B8560D408356CAC2FC148E53B2F82F1E at SUN-DAG3 dot synchrotron-soleil dot fr>
> 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