This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
RE: c++/6709: typeof() cannot be used with the :: operator
- From: "Anita Kulkarni" <AnitaK at kpit dot com>
- To: <lerdsuwa at gcc dot gnu dot org>,<gcc-bugs at gcc dot gnu dot org>,<gcc-prs at gcc dot gnu dot org>,<marco at technoboredom dot net>,<nobody at gcc dot gnu dot org>
- Date: Fri, 24 May 2002 16:50:04 +0530
- Subject: RE: c++/6709: typeof() cannot be used with the :: operator
Hi,
I think using the scope resolution operator along with typeof() is redundant.
With the declaration typeof(x) q, q can access the element of struct X.
Then why use :: with typeof?
One more doubt I have -
Using scope resolution operator of a class with struct is an extention to GCC?
Regards,
Anita
KPIT Infosystems Ltd., India ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNUSH and GNUH8 toolchains for Hitachi's SH and H8 Series.
The following site also offers free support to European customers.
Read more at http://www.kpit.com
Latest versions of GNUSH and GNUH8 are released on Apr 1, 2002.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----Original Message-----
From: lerdsuwa@gcc.gnu.org [mailto:lerdsuwa@gcc.gnu.org]
Sent: Wednesday, May 22, 2002 7:52 PM
To: gcc-bugs@gcc.gnu.org; gcc-prs@gcc.gnu.org; marco@technoboredom.net;
nobody@gcc.gnu.org
Subject: Re: c++/6709: typeof() cannot be used with the :: operator
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