Boost logo

Boost :

Subject: Re: [boost] [1.48.0 Beta 1][fusion] MacTypes.h conflict with nil
From: Jeff Flinn (Jeffrey.Flinn_at_[hidden])
Date: 2011-11-02 08:35:15


Joel de Guzman wrote:
> On 10/29/2011 2:06 AM, Jeff Flinn wrote:
>> reposted from "[1.48.0] Beta 1 is now available from SourceForge" thread for better
>> visibilty.
>>
>> Mac 10.6 Xcode 3.2.6 gcc 4.2:
>>
>> In compiling our application, upgrading from boost_1_44_0 I get conflicts with MacTypes.h
>> define of nil when compiling cons_fwd.hpp from fusion.
>>
>> Any thoughts?
>
> I wouldn't mind renaming that on the Mac platform. I don't have
> access to a Mac right now, but if you can prepare a patch,
> I'll get the changes in. It should be an easy name change
> (I suggest nil_) with proper #ifdefs for detecting the Mac
> platform.
>
> Regards,

I'd hate to see cruft added to fusion, however little to resolve this
issue. I see 189 usages of nil in boost 1.44.0 and 202 in 1.47.0
primarily with spirit/xpressive. Both these boost versions compile fine
with our code. I'm trying to understand what might be different with
1.48.0 that causes the conflict to arise. Is there a config file 'not'
being included in 1.48 that was #undef'ing nil?

I'll do a little more investigation.

Thanks, Jeff


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk