On Sun, 20 Mar 2011, Mark Mitchell wrote:

> On 3/18/2011 4:26 PM, Michael Meissner wrote:
> 
> > This patch makes conditional macros that are used in the PowerPC and SPU 
> > ports
> > not be 'defined' for the #ifdef, #ifndef, and #if defined(...) tests. 
> 
> I think that's a desirable change, from a language semantics point of
> view, but I would defer to Joseph on this issue; he has a much more
> comprehensive understanding of the C preprocessing rules than I do.

The argument for the change makes sense to me (in terms of what code is 
likely to do when testing for a macro being defined); this is outside the 
scope of the standard in any case.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to