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

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


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.

Neil.



More information about the Gcc-bugs mailing list