public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: marco@technoboredom.net
To: gcc-gnats@gcc.gnu.org
Subject: c++/6709: typeof() cannot be used with the :: operator
Date: Fri, 17 May 2002 15:46:00 -0000	[thread overview]
Message-ID: <20020517223919.2514.qmail@sources.redhat.com> (raw)


>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==


             reply	other threads:[~2002-05-17 22:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-17 15:46 marco [this message]
2002-05-22  7:21 lerdsuwa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020517223919.2514.qmail@sources.redhat.com \
    --to=marco@technoboredom.net \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).