diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2001-08-02 10:51:17 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2001-08-02 10:51:17 +0000 |
commit | 1dbb6023c73cfb340b24d8c81cf31f41f8f1805b (patch) | |
tree | 500db6a75f62007cc54fa831988ec84ee2018489 /gcc/doc/c-tree.texi | |
parent | d6b6ba29213242c1e0ce9cc9a63a4632e1f01ca2 (diff) | |
download | gcc-1dbb6023c73cfb340b24d8c81cf31f41f8f1805b.tar.gz |
Kill -fhonor-std.
.: Kill -fhonor-std.
* doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
interaction.
* doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
cp:
Kill -fhonor-std.
* NEWS: Document.
* cp-tree.h (flag_honor_std): Remove.
(CPTI_FAKE_STD): Remove.
(std_node): Remove comment about it being NULL.
(fake_std_node): Remove.
* decl.c (in_fake_std): Remove.
(walk_namespaces_r): Remove fake_std_node check.
(push_namespace): Remove in_fake_std code.
(pop_namespace): Likewise.
(lookup_name_real): Remove fake_std_node check.
(init_decl_processing): Always create std_node. Always add
std:: things there.
(builtin_function): Always put non '_' fns in std.
* decl2.c (flag_honor_std): Remove.
(lang_f_options): Remove honor-std.
(unsupported_options): Add honor-std.
(set_decl_namespace): Remove fake_std_node check.
(validate_nonmember_using_decl): Likewise.
(do_using_directive): Likewise.
(handle_class_head): Likewise.
* dump.c (cp_dump_tree): Likewise.
* except.c (init_exception_processing): Adjust.
* init.c (build_member_call): Remove fake_std_node check.
(build_offset_ref): Likewise.
* lang-options.h: Remove -fhonor-std, -fno-honor-std.
* rtti.c (init_rtti_processing): Adjust.
testsuite:
Kill -fhonor-std.
* g++.old-deja/g++.ns/ns14.C: Remove special options.
* g++.old-deja/g++.other/std1.C: Likewise.
* g++.old-deja/g++.robertl/eb133.C: Likewise. Add using directive.
From-SVN: r44569
Diffstat (limited to 'gcc/doc/c-tree.texi')
-rw-r--r-- | gcc/doc/c-tree.texi | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/doc/c-tree.texi b/gcc/doc/c-tree.texi index a35ab4550e9..7d926c75388 100644 --- a/gcc/doc/c-tree.texi +++ b/gcc/doc/c-tree.texi @@ -620,22 +620,6 @@ representation, the global namespace is no different from any other namespace. Thus, in what follows, we describe namespaces generally, rather than the global namespace in particular. -The @code{::std} namespace, however, @emph{is} special when -@code{flag_honor_std} is not set. When @code{flag_honor_std} is set, -the @code{std} namespace is just like any other namespace. When -@code{flag_honor_std} is not set, however, the @code{::std} namespace is -treated as a synonym for the global namespace, thereby allowing users to -write code that will work with compilers that put the standard library -in the @code{::std} namespace. The @code{std} namespace is represented -by the variable @code{std_node}. Although @code{std_node} is a -@code{NAMESPACE_DECL}, it does not have all the fields required of a -real namespace, and the macros and functions described here do not work, -in general. It is safest simply to ignore @code{std_node} should you -encounter it while examining the internal representation. In -particular, you will encounter @code{std_node} while looking at the -members of the global namespace. Just skip it without attempting to -examine its members. - The following macros and functions can be used on a @code{NAMESPACE_DECL}: @ftable @code |