public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/6709: typeof() cannot be used with the :: operator
@ 2002-05-17 15:46 marco
0 siblings, 0 replies; 2+ messages in thread
From: marco @ 2002-05-17 15:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 6709
>Category: c++
>Synopsis: typeof() cannot be used with the :: operator
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 17 15:46:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: marco@technoboredom.net
>Release: gcc-3.1
>Organization:
>Environment:
$ uname -a
CYGWIN_NT-5.0 OBLOMOW 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown
Administrator@OBLOMOW ~
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.1/specs
Configured with: ../gcc-3.1/configure --program-suffix=-3.1 --enable-shared --enable-threads=win32 --enable-languages=c,
c++,objc,f77 --enable-win32-registry : (reconfigured) ../gcc-3.1/configure --prefix=/usr --program-suffix=-3.1 --enable-
shared --enable-threads=win32 --enable-languages=c,c++,objc,f77 --enable-win32-registry
Thread model: win32
gcc version 3.1
>Description:
Using typeof() together with the :: operator results in a parsing error, though typeof() returns a type-expression where :: is applyable (class type etc.).
The message is 'parse error before ";" token'
>How-To-Repeat:
The file attachment 'a.cc' produces the message for line 10.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="a.cc"; name="a.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="a.cc"
c3RydWN0IFggDQp7DQogIHR5cGVkZWYgaW50IFk7IA0KICBpbnQgeTsgDQp9OyANCg0KaW50IG1h
aW4oICkNCnsNCiAgWCB4OyANCiAgdHlwZW9mKHgpOjpYIHE7IC8vIEhlcmU6IHBhcnNpbmcgZXJy
b3INCn0NCg==
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/6709: typeof() cannot be used with the :: operator
@ 2002-05-22 7:21 lerdsuwa
0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2002-05-22 7:21 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, marco, nobody
Synopsis: typeof() cannot be used with the :: operator
State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Wed May 22 07:21:39 2002
State-Changed-Why:
Confirmed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6709
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-22 14:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-17 15:46 c++/6709: typeof() cannot be used with the :: operator marco
2002-05-22 7:21 lerdsuwa
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).