This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: [v3] c++0x includes


Doug Gregor wrote:

In addition to -std=c++0x, there is also -std=gnu++0x, which adds the
C++0x features but retains GNU extensions. It's just like -std=c++
(which enables strict C++98/03) vs. -std=gnu++ (this is the default).

So, I suggest just changing the C++0x testing in libstdc++ to use -std=gnu++0x.

Ah, ah, thanks Doug, the comparison to -std=c++ / -std=gnu++ (*the default*) is extremely clarifying. Therefore I agree that we should use -std=gnu++0x in the new tests. Benjamin?


Paolo.


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