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: [PATCH] Experimental C++0x mode


Doug Gregor wrote:

2006-11-01 Douglas Gregor <doug.gregor@gmail.com>

    * c-common.c (flag_cpp0x): New.
    * c-common.h (flag_cpp0x): New.
    * c-cppbuiltin.c (c_cpp_builtins): If C++0x extensions are
    supported, define __GXX_EXPERIMENTAL_CPP0X__.
    * c-opts.c (set_std_cxx0x): New.
    (c_common_handle_option): Handle -std=c++0x, -std=gnu++0x.
    * c.opt (std=c++0x): Document.
    (std=gnu++0x): Ditto.

2006-11-01 Douglas Gregor <doug.gregor@gmail.com>

    * include/cpplib.h (enum c_lang): Add CLK_GNUCXX0X and CLK_CXX0X
    for experimental C++0x mode.
    * init.c (lang_defaults): Add defaults for C++0x modes. C++0x has
    adopted the preprocessor changes introduced in C99.

Index: doc/cpp.texi
===================================================================
Index: doc/invoke.texi
===================================================================

You need ChangeLog entries for the doc/ changes too.


Thanks,

--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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