[PATCH] Experimental C++0x mode

Mark Mitchell mark@codesourcery.com
Wed Nov 1 16:48:00 GMT 2006


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



More information about the Gcc-patches mailing list