public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/50920] New: add a -std=c++11 option to the driver
@ 2011-10-30 12:27 vanboxem.ruben at gmail dot com
2011-10-31 19:40 ` [Bug c++/50920] " jason at gcc dot gnu.org
2011-11-01 0:33 ` jason at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: vanboxem.ruben at gmail dot com @ 2011-10-30 12:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50920
Bug #: 50920
Summary: add a -std=c++11 option to the driver
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: vanboxem.ruben@gmail.com
Since the new Standard has been ratified and published, I think it's more than
time this gets added. In the next release, there could be a warning about the
deprecation of -std=c++0x in favor of the new one.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/50920] add a -std=c++11 option to the driver
2011-10-30 12:27 [Bug c++/50920] New: add a -std=c++11 option to the driver vanboxem.ruben at gmail dot com
@ 2011-10-31 19:40 ` jason at gcc dot gnu.org
2011-11-01 0:33 ` jason at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: jason at gcc dot gnu.org @ 2011-10-31 19:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50920
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-31 19:34:22 UTC ---
Author: jason
Date: Mon Oct 31 19:34:14 2011
New Revision: 180707
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180707
Log:
PR c++/50920
gcc/c-family
* c-common.h (cxx_dialect): Add cxx11 and cxx03.
* c.opt: Add -std=c++11, -std=gnu++11, -std=gnu++03,
and -Wc++11-compat.
* c-opts.c (set_std_cxx11): Rename from set_std_cxx0x.
gcc/cp
* class.c (check_field_decl): Change c++0x in diags to c++11.
* error.c (maybe_warn_cpp0x): Likewise.
* parser.c (cp_parser_diagnose_invalid_type_name): Likewise.
* pt.c (check_default_tmpl_args): Likewise.
libcpp
* include/cpplib.h (enum c_lang): Rename CLK_CXX0X to CLK_CXX11,
CLK_GNUCXX0X to CLK_GNUCXX11.
libstdc++-v3
* include/bits/c++0x_warning.h: Change -std=c++0x to -std=c++11.
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-common.h
trunk/gcc/c-family/c-opts.c
trunk/gcc/c-family/c.opt
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/cp/error.c
trunk/gcc/cp/parser.c
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-98.C
trunk/libcpp/ChangeLog
trunk/libcpp/include/cpplib.h
trunk/libcpp/init.c
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/c++0x_warning.h
trunk/libstdc++-v3/testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/18_support/headers/cstdint/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/20_util/headers/type_traits/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/23_containers/headers/array/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/23_containers/headers/tuple/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/26_numerics/headers/random/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/28_regex/headers/regex/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/29_atomics/headers/atomic/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/30_threads/headers/future/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/30_threads/headers/mutex/std_c++0x_neg.cc
trunk/libstdc++-v3/testsuite/30_threads/headers/thread/std_c++0x_neg.cc
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/50920] add a -std=c++11 option to the driver
2011-10-30 12:27 [Bug c++/50920] New: add a -std=c++11 option to the driver vanboxem.ruben at gmail dot com
2011-10-31 19:40 ` [Bug c++/50920] " jason at gcc dot gnu.org
@ 2011-11-01 0:33 ` jason at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: jason at gcc dot gnu.org @ 2011-11-01 0:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50920
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jason at gcc dot gnu.org
Resolution| |FIXED
Target Milestone|--- |4.7.0
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-11-01 00:32:29 UTC ---
Done.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-11-01 0:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-30 12:27 [Bug c++/50920] New: add a -std=c++11 option to the driver vanboxem.ruben at gmail dot com
2011-10-31 19:40 ` [Bug c++/50920] " jason at gcc dot gnu.org
2011-11-01 0:33 ` jason at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).