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]

Re: Internal compiler error


When building the Mozilla SeaMonkey on OS/2, we get slews of the
sorry-the-semantics-are-wrong warning with gcc 2.8.1 from this line:

static const nsIID& GetIID() { static nsIID iid = NS_IREGISTRY_IID;
return iid; }

and its equivalent in several other headers; and our pgcc (egcs 1.2?)
dies on the first occurrence with an ICE. A while back I came across two
reports about that warning/ICE in your archives, one specifically
referring to the same Mozilla code, but no responses to help me
understand the problem. I remain baffled, and any explanation would be
appreciated.

Henry


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