This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
BUG REPORT
- To: gcc-bugs at gcc dot gnu dot org
- Subject: BUG REPORT
- From: Aaron Johnson <johnsona at cdrgts dot dsl dot frii dot com>
- Date: Wed, 20 Oct 1999 14:52:14 -0600
- Organization: CDR
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.
------------------------------------------------------