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????


Sean McNeil wrote:-

> Hi,
> 
> I've found that the preprocessor changes it's behavior of processing
> assembly files when I add the -ansi flag.  Is this correct?  I think
> I've tracked it down to where it appears the CPP_OPTION (pfile, lang) is
> no longer set to CLK_ASM when -ansi is specified.

There is no such thing as ANSI assembly 8-)

-ansi is equivalent to -std=c89; hence it ends up preprocessing C.

Neil.


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