From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: "Thomas Bushnell, BSG" Message-ID: <871yehbxhk.fsf@becket.becket.net> Content-Type: text/plain; charset=us-ascii References: <20020318112543.B9ACA199B3@mail.cse.psu.edu> Subject: Re: macro fun [Re: [9fans] plan or side effect] Date: Mon, 18 Mar 2002 17:37:18 +0000 Topicbox-Message-UUID: 68fe2672-eaca-11e9-9e20-41e7f4b1d025 forsyth@caldo.demon.co.uk writes: > >> according to gcc, [t.c] is strictly conforming. it compiles > > perfectly. > > >That's not at all the same thing. > > since he said -ansi -pendantic (or some such) i suspect he > expected it to complain, and it probably should. No, -pedantic says "issue all the warnings and errors that ANSI mandates, even when they are stupid warnings or errors". It does not say "warn for all non-ANSI constructions".