public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/7996: Parse error in throw statement with parenthesis
@ 2002-09-21 11:06 marcus
0 siblings, 0 replies; only message in thread
From: marcus @ 2002-09-21 11:06 UTC (permalink / raw)
To: gcc-gnats
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 844 bytes --]
>Number: 7996
>Category: c++
>Synopsis: Parse error in throw statement with parenthesis
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Sep 21 11:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Marcus Woletz
>Release: 2.95.2
>Organization:
>Environment:
linux
>Description:
the following small program generates
the following error (in the throw statement):
"parse error before `;´"
here comes the program:
#include <exception>
int main (void)
{
throw (std::exception());
return (0);
}
The same program without the outer
parenthesis in the throw statement
compiles without errors.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-09-21 18:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-21 11:06 c++/7996: Parse error in throw statement with parenthesis marcus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).