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]

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



>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
>Closed-Date:
>Last-Modified:
>Originator:     kmoran@mail.utexas.edu
>Release:        gcc 2.95.2 19991024
>Organization:
>Environment:
RedHat Linux 6.2
>Description:
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:
std::std<arlut::imps::probes::event::localeventservice::
idl::Connection_var> disconnectionSet;

The code is obviously incorrect and should have been
std::set<arlut::imps::probes::event::localeventservice::
idl::Connection_var> disconnectionSet;

However this should have just caused a parse error
with a warning such as
"std not found in namespace std";
>How-To-Repeat:
Should be very easy to duplicate.
>Fix:
I have no idea.
>Release-Note:
>Audit-Trail:
>Unformatted:

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