aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/NEWS
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1998-12-07 12:27:47 +0000
committerJason Merrill <jason@gcc.gnu.org>1998-12-07 07:27:47 -0500
commit2642b9bfd55db180d5e689d0fc7198dfc324c488 (patch)
tree61a5095972adc3591e1963f1c5ff3aaa2ece1564 /gcc/cp/NEWS
parent1db9f6ceae87ca6417ef1d64a66d27d4c9355a06 (diff)
downloadgcc-2642b9bfd55db180d5e689d0fc7198dfc324c488.zip
gcc-2642b9bfd55db180d5e689d0fc7198dfc324c488.tar.gz
gcc-2642b9bfd55db180d5e689d0fc7198dfc324c488.tar.bz2
decl.c (build_typename_type): Set DECL_ARTIFICIAL.
* decl.c (build_typename_type): Set DECL_ARTIFICIAL. * error.c (dump_simple_decl): Also print namespace context. (dump_function_decl): Likewise. * decl2.c (ambiguous_decl): Don't print old value if it's error_mark_node. * decl.c (lookup_name_real): Fix handling of local types shadowed by a non-type decl. Remove obsolete code. * cp-tree.h (DECL_FUNCTION_SCOPE_P): New macro. Fixes g++.other/lookup6.C * lang-options.h: Add -fpermissive. * decl2.c: Likewise. * cp-tree.h: Add flag_permissive. * decl.c (init_decl_processing): If neither -fpermissive or -pedantic were specified, set flag_pedantic_errors. * call.c (build_over_call): Turn dropped qualifier messages back into pedwarns. * cvt.c (convert_to_reference): Likewise. * typeck.c (convert_for_assignment): Likewise. From-SVN: r24150
Diffstat (limited to 'gcc/cp/NEWS')
-rw-r--r--gcc/cp/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/NEWS b/gcc/cp/NEWS
index 9cb7d5b..0cdcc22 100644
--- a/gcc/cp/NEWS
+++ b/gcc/cp/NEWS
@@ -1,3 +1,9 @@
+*** Changes since EGCS 1.1:
+
+* Messages about non-conformant code that we can still handle ("pedwarns")
+ are now errors by default, rather than warnings. This can be reverted
+ with -fpermissive, and is overridden by -pedantic or -pedantic-errors.
+
*** Changes in EGCS 1.1:
* Namespaces are fully supported. The library has not yet been converted