This is the mail archive of the gcc-patches@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: RFA: libstdc++ PATCH to initializer_list to #error in C++98 mode


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.


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