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]

BUG REPORT


Hello,

I found a discrete parse error in egcs involing CORBA idl files and
Class headers. It seems if the programmer is foolish enough to declare a
CORBA inerface such as:

(idl)
interface classX
{ 
   void setPredefinedRestrictions(in Restriction::Restrictions rl)
      raises(PermissionDenied, DatabaseQueryError);
}

and define the interface in C++ as:

(C++ classX header)
void  setPredefinedRestrictions(GTS::Restriction::Restrictions rl)

(C++ classX source)
  void  setPredefinedRestrictions(GTS::Restriction:Restrictions rl)
Note the Scope resolution operator in the parameter rl is missing a
second colon. This causes an internal compiler error


Here are the system specs:
>CORBA orb: omniORB2

>  egcs -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

> Linux Kernel 2.2.13pre15 (Redhat 6.0)


Best!
Aaron 'Ion Cannon' Johnson
------------------------------------------------------
Provoke peace through superior intelligence and mirth. 
------------------------------------------------------

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