This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: C++98/C++11 ABI compatibility for gcc-4.7
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Gabriel Paubert <paubert at iram dot es>
- Cc: Paolo Carlini <pcarlini at gmail dot com>, Gabriel Dos Reis <gdr at integrable-solutions dot net>, James Y Knight <foom at fuhm dot net>, "jyasskin at googlers dot com" <jyasskin at googlers dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 15 Jun 2012 22:56:44 +0100
- Subject: Re: C++98/C++11 ABI compatibility for gcc-4.7
- References: <684e2daa82dfe58f3c0ca7898a646503.squirrel@fuhm.net> <CAH6eHdQEciws3XiV_mbLDaL4OA3c1B91sYH1=3OOEsK8+NhhYQ@mail.gmail.com> <2f242c57969394ada4e4245513f247de.squirrel@fuhm.net> <CAAiZkiAB7d5pEaKwqjR=rVt=wDa8n=zQdegOZn8HWi+M1jc+zw@mail.gmail.com> <BDA15BC0-F41D-4EF4-A731-FDACFE6157FA@oracle.com> <20120615212311.GA25101@visitor2.iram.es>
On 15 June 2012 22:23, Gabriel Paubert wrote:
>
> Does this basically mean that compiling C++ code with GCC4.7 will be playing Russian roulette?
No.
If you don't use -std=c++11 then there's absolutely no problem
whatsoever. If you do use it, use it consistently.