Re: //Comments
Re: //Comments
- Subject: Re: //Comments
- From: Steve Checkoway <email@hidden>
- Date: Tue, 13 Jan 2009 15:10:56 -0800
On Tue, Jan 13, 2009 at 03:54:22PM -0700, Jeff Laing wrote:
> Jean-Daniel Dupas:
> > Does it said if it should strip the comments before or after macro
> > expansion ?
>
> To be honest, I would ignore what the standard says and use the
> pre-processor facility in XCode to see what XCode *actually* does. And
> remain aware that later versions of the compiler suite might change the
> behaviour.
Well, Xcode itself isn't going to do anything, but my experience with
gcc has been that it matches the standards when it comes to
preprocessing. I've been bitten in the past when standards compliant
preprocessor code I wrote didn't work in VS although gcc handled it
correctly.
> My comments were about an observed problem in Visual Studio, not XCode.
> And as I recall, the latest versions of VC don't have the bug. Its was
> VC6 or VC7 as I recall, so its something that compiler writers can get
> wrong, and can fix over time.
Right.
--
Steve Checkoway
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden