public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5281: some syntax is no longer accepted by g++ 3.0.3
@ 2002-01-04 17:56 rodrigc
0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-01-04 17:56 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, jianhua.zhou, nobody
Synopsis: some syntax is no longer accepted by g++ 3.0.3
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Fri Jan 4 17:56:26 2002
State-Changed-Why:
Such a compiler option does not exist. gcc 3.0 adheres
more strictly to the ISO C++ standard than earlier
versions of gcc, so that is why this particular error
does not occur in previous compiler versions.
Refer to the ISO C++ standard:
7.1.5.3 Elaborated type specifiers [dcl.type.elab]
1 If an elaborated-type-specifier is the sole constituent of a
declaration, the declaration is ill-formed unless it is an explicit
specialization (14.7.3), an explicit instantiation (14.7.2) or it has
one of the following forms:
class-key identifier ;
friend class-key identifier ;
friend class-key ::identifier ;
friend class-key nested-name-specifier identifier ;
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5281
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/5281: some syntax is no longer accepted by g++ 3.0.3
@ 2002-01-04 16:26 jianhua.zhou
0 siblings, 0 replies; 2+ messages in thread
From: jianhua.zhou @ 2002-01-04 16:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 5281
>Category: c++
>Synopsis: some syntax is no longer accepted by g++ 3.0.3
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 04 16:26:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Jianhua Zhou
>Release: g++ 3.0.3
>Organization:
>Environment:
gcc/g++ 3.0.3
>Description:
The follwing statement is no longer accepted by the new
g++ 3.0.3:
the OIOnihout is a class.
friend OIOnihout;
is not accepted by new g++ 3.0.3, and have to say:
friend class OIOnihout;
Do you have any option to make it work on g++ 3.0.3?
Thanks!
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-01-05 1:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-04 17:56 c++/5281: some syntax is no longer accepted by g++ 3.0.3 rodrigc
-- strict thread matches above, loose matches on Subject: below --
2002-01-04 16:26 jianhua.zhou
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).