typedef void some_type;
Mark Mitchell
mmitchell@usa.net
Mon Sep 8 02:42:00 GMT 1997
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
More information about the Gcc
mailing list