Boost logo

Boost :

From: jk_at_[hidden]
Date: 2001-06-08 08:43:38


8 Jun 2001 17:23:45 +0400 Chris Little ÎÁÐÉÓÁÌ:
>On a Mac, nil is a preprocessor macro included in the system headers as a

Exactly that way, lowercase macro? Then this is BIG design flaw in MacOS.

>legacy of the days when the OS had a Pascal interface.

How about something like

#ifdef nil
#undef nil
void * const nil=0; // or what appropriate, in global namespace.
#endif

somewhere in config.hpp?

-- 
jk

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