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

Sean McNeil sean@mcneil.com
Fri Nov 22 13:53:00 GMT 2002


I will examine this and try to get back to you before the new year.  I
do not want to cause any side affects.

Thanks for your input,
Sean

On Fri, 2002-11-22 at 13:46, Neil Booth wrote:
> 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