This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gcc/cp/exception.cc] missing std:: qualification
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Subject: [gcc/cp/exception.cc] missing std:: qualification
- From: Alfred Minarik <a8601248 at unet dot univie dot ac dot at>
- Date: Fri, 28 Jan 2000 00:45:55 +0100
Found while building a libgcc.a with -fhonor-std.
Compilation fails at gcc/cp/exception.cc.
Here comes the obvious fix.
Being more than small, this needs no ChangeLog entry.
--------------
*** /home/internet/cvs_egcs/egcs/gcc/cp/exception.cc Thu Jan 27
21:03:18 2000
--- exception.cc Thu Jan 27 23:06:51 2000
***************
*** 327,333 ****
return 0;
}
! extern "C" type_info const &
__throw_bad_typeid ()
{
throw std::bad_typeid ();
--- 327,333 ----
return 0;
}
! extern "C" std::type_info const &
__throw_bad_typeid ()
{
throw std::bad_typeid ();
----------------
Alfred