c++/855: 2.97: internal error: missing "}" in namespace decl
m_schnei@gmx.de
m_schnei@gmx.de
Tue Nov 21 07:16:00 GMT 2000
>Number: 855
>Category: c++
>Synopsis: 2.97: internal error: missing "}" in namespace decl
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Tue Nov 21 07:16:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Michael Schneider
>Release: gcc version 2.97 20001120 (experimental)
>Organization:
>Environment:
CodeSourcery's Online Test Compilation
>Description:
The internal compiler error pops up, if you forget the
matching "}" around a namespace.
Notice:
With "gcc version egcs-2.91.57 19980901 (egcs-1.1 release)"
there was no such internal compiler error.
Here's the Output:
x.cc:8: parse error at end of input
x.cc:8: Internal compiler error in pop_binding, at cp/decl.c:1199
Please submit a full bug report.
See for instructions.
>How-To-Repeat:
namespace { // unnamed namespace
void f();
// oops: "}" forgotten
// --- EOF ---
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list