public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Devang Patel <dpatel@apple.com>
To: Neil Booth <neil@daikokuya.co.uk>
Cc: Devang Patel <dpatel@apple.com>,
	Stephen Lindholm <lindholm@CS.Stanford.EDU>,
	gcc@gcc.gnu.org
Subject: Re: Change in preprocessor behavior
Date: Thu, 02 Jan 2003 21:04:00 -0000	[thread overview]
Message-ID: <A7FBB78C-1E95-11D7-9172-0003935AAA26@apple.com> (raw)
In-Reply-To: <20021230225110.GC12512@daikokuya.co.uk>

[-- Attachment #1: Type: text/plain, Size: 439 bytes --]


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

[-- Attachment #2: Type: text/enriched, Size: 493 bytes --]



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


<excerpt>

<fixed>Stephen Lindholm wrote:-


<excerpt>thrush:~% cpp test2

# 1 "test2"



struct command commands[] =

{

  { #quit, quit ## _command },

  { #help, help ## _command },

};

</excerpt>

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

</fixed></excerpt><fixed>

I guess yes he is, (but indirectly). In Mac OS X, /usr/bin/cpp is a
shell 

script and it adds -traditional.

</fixed>

-Devang


  parent reply	other threads:[~2003-01-02 21:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-30 20:53 Stephen Lindholm
2002-12-30 20:54 ` Neil Booth
2002-12-30 20:54 ` Neil Booth
2002-12-30 20:54   ` Stephen Lindholm
2003-01-02 21:04   ` Devang Patel [this message]
2003-01-02 20:42 ` Mike Stump
2003-01-02 21:02   ` Devang Patel
2003-01-04 20:19 ` Zack Weinberg
2002-12-31 10:24 Martin York
2022-06-21  0:34 Dave Blanchard
2022-06-21  7:28 ` Richard Biener
2022-06-21 12:57   ` Dave Blanchard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A7FBB78C-1E95-11D7-9172-0003935AAA26@apple.com \
    --to=dpatel@apple.com \
    --cc=gcc@gcc.gnu.org \
    --cc=lindholm@CS.Stanford.EDU \
    --cc=neil@daikokuya.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).