This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[gcc/cp/exception.cc] missing std:: qualification


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]