This is the mail archive of the gcc-bugs@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: c++/9758: [mingw] g++ ICE on (presumably) legal code


http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=g
cc&pr=9758

With GCC-3.3 (mingw build) I get this instead of ICE.

In file included from ../pxtSocket.h:5,
                 from ../pxtSockStrm.h:3,
                 from pxtSockStrm.cpp:7:
../pxtSmartPtr.h: At global scope:
../pxtSmartPtr.h:612: error: friend declaration requires class-key, i.e.
   `friend class Extend::target<PtrTraits,
pxt::smart_ptr_impl<PtrTraits,
   MgmtPolicy, ChkPolicy, Extend> >'
In file included from ../pxtSockStrm.h:3,
                 from pxtSockStrm.cpp:7:
../pxtSocket.h:18: warning: ignoring #pragma comment
../pxtSockStrm.h:91: confused by earlier errors, bailing out



Danny


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