This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
typedef void some_type;
- To: Gabriel Dos Reis <Gabriel dot Dos-Reis at dptmaths dot ens-cachan dot fr>
- Subject: typedef void some_type;
- From: Mark Mitchell <mmitchell at usa dot net>
- Date: Mon, 8 Sep 1997 00:20:54 -0700
- Cc: egcs at cygnus dot com
- References: <199709071305.PAA16629@cor.dptmaths.ens-cachan.fr>
- Reply-To: mmitchell at usa dot net
I'll take a look at this.
>>>>> "Gabriel" == Gabriel Dos Reis <Gabriel.Dos-Reis@dptmaths.ens-cachan.fr> writes:
Gabriel> egcs-970904 (and gcc-2.7.2.2) gets into trouble with
Gabriel> this shunk of (legal) code:
Gabriel> % cat foo.C struct A { typedef void value_type; };
Gabriel> % g++ -c foo.C foo.C:2: variable or field `value_type'
Gabriel> declared void
Gabriel> -- Gaby
--
Mark Mitchell mmitchell@usa.net
Stanford University http://www.stanford.edu