c++/703: simple parse error reported as compilor error

kmoran@mail.utexas.edu kmoran@mail.utexas.edu
Sat Oct 28 08:46:00 GMT 2000

>Number:         703
>Category:       c++
>Synopsis:       simple parse error reported as compilor error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 28 08:46:00 PDT 2000
>Originator:     kmoran@mail.utexas.edu
>Release:        gcc 2.95.2 19991024
RedHat Linux 6.2
Internal Compilor Error
Please submit a full bug report
See <URL http://www.gnu.org/software/faq.html/#bugreport > for instructions.
This is using the distribution of the c++ headers that came
with gcc.
I got this message from the following line of code:
idl::Connection_var> disconnectionSet;

The code is obviously incorrect and should have been
idl::Connection_var> disconnectionSet;

However this should have just caused a parse error
with a warning such as
"std not found in namespace std";
Should be very easy to duplicate.
I have no idea.

More information about the Gcc-bugs mailing list