This is the mail archive of the gcc@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: Change in preprocessor behavior



On Monday, December 30, 2002, at 02:51 PM, Neil Booth wrote:

Stephen Lindholm wrote:-

thrush:~% cpp test2
# 1 "test2"


struct command commands[] =
{
{ #quit, quit ## _command },
{ #help, help ## _command },
};

Contrary to your claim, I suspect you're using cpp -traditional, no?

I guess yes he is, (but indirectly). In Mac OS X, /usr/bin/cpp is a shell
script and it adds -traditional.

-Devang

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