* typedef void some_type;
@ 1997-09-07 6:06 Gabriel Dos Reis
1997-09-08 2:42 ` Mark Mitchell
0 siblings, 1 reply; 3+ messages in thread
From: Gabriel Dos Reis @ 1997-09-07 6:06 UTC (permalink / raw)
To: egcs
egcs-970904 (and gcc-2.7.2.2) gets into trouble with this
shunk of (legal) code:
% cat foo.C
struct A {
typedef void value_type;
};
% g++ -c foo.C
foo.C:2: variable or field `value_type' declared void
-- Gaby
^ permalink raw reply [flat|nested] 3+ messages in thread
* typedef void some_type;
1997-09-07 6:06 typedef void some_type; Gabriel Dos Reis
@ 1997-09-08 2:42 ` Mark Mitchell
1997-09-08 3:27 ` Gabriel Dos Reis
0 siblings, 1 reply; 3+ messages in thread
From: Mark Mitchell @ 1997-09-08 2:42 UTC (permalink / raw)
To: Gabriel Dos Reis; +Cc: egcs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* typedef void some_type;
1997-09-08 2:42 ` Mark Mitchell
@ 1997-09-08 3:27 ` Gabriel Dos Reis
0 siblings, 0 replies; 3+ messages in thread
From: Gabriel Dos Reis @ 1997-09-08 3:27 UTC (permalink / raw)
To: mmitchell; +Cc: Gabriel Dos Reis, egcs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 481 bytes --]
>>>>> «Mark», Mark Mitchell <mmitchell@usa.net> wrote:
Mark> 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
It now compiles fine with egcs-970907
-- Gaby
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-09-08 3:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-07 6:06 typedef void some_type; Gabriel Dos Reis
1997-09-08 2:42 ` Mark Mitchell
1997-09-08 3:27 ` Gabriel Dos Reis
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).