Boost logo

Boost :

From: Joel (joel_at_[hidden])
Date: 2004-09-09 00:46:17


Arkadiy Vertleyb wrote:

> Hi,
>
> Somehow my post to the Spirit forum didn't pass through, so I am repeating
> it here.
>
> The following problem results from just including spirit.hpp from the
> current Boost CVS, when compiling with VC7.1:
>
> boost\spirit\utility\impl\chset\range_run.ipp(57) : warning C4003: not
> enough actual parameters for macro 'min'
>
> Apparently there is a conflict with an STL macro... Is it a known problem?

strange. I can't reproduce the error:

#include <boost/spirit.hpp>

compiles just fine for me. Are you sure you have the latest from the
CVS? My CVS has:

    first == (std::numeric_limits<CharT>::min)() ? first : first-1;

in range_run.ipp(57)

[ http://tinyurl.com/5dzgx ]

Regards,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

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