Boost logo

Boost :

From: Deane_Yang_at_[hidden]
Date: 2001-08-26 23:26:35


I'm trying to compile some code that does the following:

#include <ole2.h> // Windows stuff
#include <boost/cast.hpp>

This doesn't work, because the first #include defines
macros max and min. This conflicts with the use of min
inside cast.hpp.

Is this something that I always have to fix manually?

(I did a search of the archives, but couldn't find a definitive
answer. If it's there, just point me in the right direction.)


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