From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Carlini To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/2742 Date: Sat, 05 May 2001 03:46:00 -0000 Message-id: <20010505104602.22242.qmail@sourceware.cygnus.com> X-SW-Source: 2001-05/msg00148.html List-Id: The following reply was made to PR c++/2742; it has been noted by GNATS. From: Paolo Carlini To: gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org, matt@mail.ssc.usm.edu Cc: Subject: Re: c++/2742 Date: Sat, 05 May 2001 12:43:35 +0200 Hi, I have'nt been able to reproduce your ICE with a current Gcc3.0 snapshot (see, http://gcc.gnu.org/bugs.html ). Instead, from Codesourcery's online compiler I got (either with or without the -gdwarf switch) the following error messages: In file included from /home/matt/ob/include/OB/Template.h:14, from /home/matt/ob/include/OB/Principal_fwd.h:14, from /home/matt/ob/include/OB/Any.h:14, from /home/matt/ob/include/OB/TypeCode.h:14, from /home/matt/ob/include/OB/CORBAClient.h:15, from Servers.cc:15: /home/matt/ob/include/OB/Basic.h:1036: syntax error before `&' token /home/matt/ob/include/OB/Basic.h:1037: syntax error before `&' token /home/matt/ob/include/OB/Basic.h:1038: syntax error before `&' token /home/matt/ob/include/OB/Basic.h:1039: syntax error before `&' token /home/matt/ob/include/OB/Basic.h:1040: syntax error before `&' token /home/matt/ob/include/OB/Basic.h:1041: syntax error before `&' token /home/matt/ob/include/OB/Basic.h:1047: syntax error before `&' token /home/matt/ob/include/OB/Basic.h:1048: syntax error before `&' token /home/matt/ob/include/OB/Basic.h:1049: syntax error before `&' token /home/matt/ob/include/OB/Basic.h: In destructor `virtual OB::SimpleRefCount::~SimpleRefCount()': /home/matt/ob/include/OB/Basic.h:1142: `NCARefCountNotZero' undeclared (first use this function) /home/matt/ob/include/OB/Basic.h:1142: (Each undeclared identifier is reported only once for each function it appears in.) /home/matt/ob/include/OB/Basic.h: In member function `void OB::SimpleRefCount::_OB_decRef()': /home/matt/ob/include/OB/Basic.h:1155: `NCARefCountZero' undeclared (first use this function) /home/matt/ob/include/OB/Basic.h: At global scope: /home/matt/ob/include/OB/Basic.h:1173: syntax error before `;' token In file included from /home/matt/ob/include/OB/Principal_fwd.h:14, from /home/matt/ob/include/OB/Any.h:14, from /home/matt/ob/include/OB/TypeCode.h:14, from /home/matt/ob/include/OB/CORBAClient.h:15, from Servers.cc:15: /home/matt/ob/include/OB/Template.h:100: `VarOut' is not a template /home/matt/ob/include/OB/Template.h:100: ISO C++ forbids declaration of `type name' with no type /home/matt/ob/include/OB/Template.h:160: `SeqOut' is not a template /home/matt/ob/include/OB/Template.h:160: ISO C++ forbids declaration of `type name' with no type /home/matt/ob/include/OB/Template.h:354: `VarArrayOut' is not a template /home/matt/ob/include/OB/Template.h:354: ISO C++ forbids declaration of `type name' with no type /home/matt/ob/include/OB/Template.h:605: parse error before `{' token /home/matt/ob/include/OB/Template.h:611: parse error before `&' token /home/matt/ob/include/OB/Template.h:611: `void OB::operator=(...)' must be a nonstatic member function /home/matt/ob/include/OB/Template.h:611: confused by earlier errors, bailing out Cheers, P. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2742&database=gcc