* invoke.texi (C++ Dialect Options): Document -fhonor-std.
authorMartin v. Löwis <loewis@informatik.hu-berlin.de>
Thu, 10 Sep 1998 05:55:04 +0000 (05:55 +0000)
committerMartin v. Löwis <loewis@gcc.gnu.org>
Thu, 10 Sep 1998 05:55:04 +0000 (05:55 +0000)
From-SVN: r22377

gcc/ChangeLog
gcc/invoke.texi

index dfcb9b571760d468f7468e2f872777114cab6504..943a3b9d35cd613d953f4a2d9d42d9fdf99b27d6 100644 (file)
@@ -1,3 +1,7 @@
+Thu Sep 10 14:48:59 1998  Martin von Löwis  <loewis@informatik.hu-berlin.de>
+
+       * invoke.texi (C++ Dialect Options): Document -fhonor-std.
+
 Thu Sep 10 01:38:05 1998  Jeffrey A Law  (law@cygnus.com)
 
        * reg-stack.c (straighten_stack): Do nothing if the virtual stack is
index 6751d87af85d4f55e9126f522062877b56bee126..5ddb9c9ca82e474a7bf9b4ca2cd52fbfc2618838 100644 (file)
@@ -104,7 +104,7 @@ in the following sections.
 @smallexample
 -fall-virtual  -fdollars-in-identifiers  -felide-constructors
 -fenum-int-equiv  -fexternal-templates  -ffor-scope  
--fno-for-scope  -fhandle-signatures  -fmemoize-lookups  
+-fno-for-scope  -fhandle-signatures -fhonor-std -fmemoize-lookups  
 -fname-mangling-version-@var{n}  -fno-default-inline  
 -fno-gnu-keywords -fnonnull-objects -fguiding-decls
 -foperator-names  -fno-optional-diags -fstrict-prototype  -fthis-is-variable
@@ -1021,6 +1021,13 @@ abstract types.  The default (@samp{-fno-handle-signatures}) is not to
 recognize them.  @xref{C++ Signatures, Type Abstraction using
 Signatures}.
 
+@item -fhonor-std
+Treat the @code{namespace std} as a namespace, instead of ignoring
+it. For compatibility with earlier versions of g++, the compiler will,
+by default, ignore @code{namespace-declarations},
+@code{using-declarations}, @code{using-directives}, and
+@code{namespace-names}, if they involve @code{std}.
+
 @item -fhuge-objects
 Support virtual function calls for objects that exceed the size
 representable by a @samp{short int}.  Users should not use this flag by