Boost logo

Boost :

Subject: Re: [boost] [UUID] uuid.hpp Objective C++ conflict.
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2009-08-17 18:45:44


2009/8/17 M M <mostafa_working_away_at_[hidden]>:
>
> 1) Given this conflict, will you still proceed with the same function name?  (As an fyi, all other boost libraries I've incorporated into the iphone fortunately don't have this problem.)
>

The name was chosen as that's what it's called in S4.1.7 of the UUID
RFC: http://www.ietf.org/rfc/rfc4122.txt

Do you have a suggestion for a new one?

> 2) If so, do you have any suggestions on how I can handle this issue besides manually changing the function name from nil to something else?
>

I think the only other option would be something nasty like this:

#define nil empty
#include <boost/uuid.hpp>
#undef nil


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