c-opts.c (c_common_post_options): If C++0x mode is enabled, don't warn about C++0x compatibility.
2007-02-03 Douglas Gregor <doug.gregor@gmail.com> * c-opts.c (c_common_post_options): If C++0x mode is enabled, don't warn about C++0x compatibility. From-SVN: r121564
This commit is contained in:
parent
f1283f8fad
commit
beeffe367a
|
@ -1,3 +1,8 @@
|
||||||
|
2007-02-03 Douglas Gregor <doug.gregor@gmail.com>
|
||||||
|
|
||||||
|
* c-opts.c (c_common_post_options): If C++0x mode is enabled, don't
|
||||||
|
warn about C++0x compatibility.
|
||||||
|
|
||||||
2007-02-04 Kazu Hirata <kazu@codesourcery.com>
|
2007-02-04 Kazu Hirata <kazu@codesourcery.com>
|
||||||
|
|
||||||
* config/h8300/h8300.c, config/h8300/h8300.h,
|
* config/h8300/h8300.c, config/h8300/h8300.h,
|
||||||
|
|
|
@ -1082,6 +1082,11 @@ c_common_post_options (const char **pfilename)
|
||||||
if (flag_isoc99)
|
if (flag_isoc99)
|
||||||
flag_complex_method = 2;
|
flag_complex_method = 2;
|
||||||
|
|
||||||
|
/* If we're allowing C++0x constructs, don't warn about C++0x
|
||||||
|
compatibility problems. */
|
||||||
|
if (flag_cpp0x)
|
||||||
|
warn_cxx0x_compat = 0;
|
||||||
|
|
||||||
if (flag_preprocess_only)
|
if (flag_preprocess_only)
|
||||||
{
|
{
|
||||||
/* Open the output now. We must do so even if flag_no_output is
|
/* Open the output now. We must do so even if flag_no_output is
|
||||||
|
|
Loading…
Reference in New Issue