This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

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


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.


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