From 8417823c88087a90aa51ce5dde6992d9c7bf8411 Mon Sep 17 00:00:00 2001 From: jason Date: Fri, 8 May 1998 02:06:26 +0000 Subject: massive namespace patch git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19631 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/except.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/cp/except.c') diff --git a/gcc/cp/except.c b/gcc/cp/except.c index d3e9c433244..6a98a13e588 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -217,9 +217,13 @@ init_exception_processing () /* void vtype () */ tree vtype = build_function_type (void_type_node, void_list_node); + if (flag_honor_std) + push_namespace (get_identifier ("std")); Terminate = auto_function (get_identifier ("terminate"), vtype, NOT_BUILT_IN); TREE_THIS_VOLATILE (Terminate) = 1; + if (flag_honor_std) + pop_namespace (); push_lang_context (lang_name_c); -- cgit v1.2.1