This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

typedef void some_type;



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]