aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1998-07-14 08:09:17 -0400
committerJason Merrill <jason@gcc.gnu.org>1998-07-14 08:09:17 -0400
commit9a68c51f569f618cf372efca5a2f601eba312e45 (patch)
tree13711c734408582f70f53cba399aa32d27a0b544 /gcc/gcc.c
parentb33cfabac1aeab51373ff803976ec5dbdfcf8bdc (diff)
downloadgcc-9a68c51f569f618cf372efca5a2f601eba312e45.zip
gcc-9a68c51f569f618cf372efca5a2f601eba312e45.tar.gz
gcc-9a68c51f569f618cf372efca5a2f601eba312e45.tar.bz2
call.c (joust): Don't warn about "confusing" conversions to the same type.
* call.c (joust): Don't warn about "confusing" conversions to the same type. * class.c (push_nested_class): Complain about namespaces. * decl.c (start_decl): Enter the object's namespace. (cp_finish_decl): Leave it. (grokdeclarator): Likewise. * decl2.c (check_decl_namespace): New function. (finish_file): Call it. * parse.y (complex_direct_notype_declarator): Set complexity of namespace-qualified ids to -1, enter the namespace. * method.c (build_template_decl_overload): Expect _DECL as first parameter. Put context temporarily into current_namespace. * pt.c (check_explicit_specialization): Change caller. (tsubst): Likewise. * init.c (build_offset_ref): Call mark_used and convert_from_reference for namespace members. From-SVN: r21135
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions