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]
Other format: [Raw text]

Re: [patch] Fix two C++ errors in libstdc++. (issue4341041)


Hi,
I think this is a candidate to backport to libstdc++-4.6.1.

exception_ptr.h needs the forward declaration because it's
included from<typeinfo>  before<typeinfo>  defines std::type_info.
before going ahead with the patch - I'm not at all sure it's enough, for <exception> itself for example - I think we should understand why this is accepted, note no headers:

namespace std
{
  struct test
  {
    const type_info* fun();
  };
}

Jason?

Paolo.

PS: remember to always post libstdc++ patches to the libstdc++ mailing list too


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