Boost logo

Boost :

Subject: Re: [boost] [1.48.0 Beta 1][fusion] MacTypes.h conflict with nil
From: Domagoj Saric (domagoj.saric_at_[hidden])
Date: 2011-11-03 06:14:42

On 2.11.2011. 13:35, Jeff Flinn wrote:
> 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.

I've had this problem with 1.47 and 1.46 too with Clang on OS X and had to
resort to manually renaming nil to nil_ in Fusion sources. I was hoping this was
already fixed and that 1.48 will finally be fixed. AFAIK nil and Nil are
Objective-C keywords and should not therefore be used in Boost code...

"What Huxley teaches is that in the age of advanced technology, spiritual
devastation is more likely to come from an enemy with a smiling face than
from one whose countenance exudes suspicion and hate."
Neil Postman

Boost list run by bdawes at, gregod at, cpdaniel at, john at