This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: libstdc++ PATCH to initializer_list to #error in C++98 mode
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 31 Oct 2011 21:07:14 +0100
- Subject: Re: RFA: libstdc++ PATCH to initializer_list to #error in C++98 mode
- References: <4EAEF914.3080702@redhat.com>
On 10/31/2011 08:37 PM, Jason Merrill wrote:
I have on occasion been confused by <initializer_list> silently
becoming empty in C++98 mode. OK for trunk?
For c++98, I think we should use the usual:
#ifndef __GXX_EXPERIMENTAL_CXX0X__
# include <bits/c++0x_warning.h>
#else
which we have in place elsewhere. Or we have special reasons for not
doing that?
Paolo.