preprocessor behavoir change with -ansi in assembly????

Neil Booth neil@daikokuya.co.uk
Fri Nov 22 13:49:00 GMT 2002


Neil Booth wrote:-

> Sean McNeil wrote:-
> 
> > In case my statement is unclear... :)
> > 
> > Since there is no such thing as ANSI assembly, specifying -ansi in this
> > case should be a NOOP.  Just like all cases using a flag that isn't
> > related to the particular language.
> 
> No, we've started rejecting invalid flags that we used to accept.
> 
> If -std=c89 doesn't work, how does one compile C code in a file whose
> extension happens to match that of assembler?  It becomes impossible.

That wasn't a good example, never mind.

I remain wary of changes in this area.  Why don't you propose a patch
that you have tested?

Neil.



More information about the Gcc-bugs mailing list