|
Boost : |
From: Jurko Gospodnetiæ (jurko_at_[hidden])
Date: 2004-09-06 09:18:45
Hi Arkadiy.
> 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?
I don't really know if this is exactly the issue you are running into
related but VC does have a problem with its min/max macros and
their conflict with the STL min/max templates.
'std::min(a,b)' tries to use the macro so to force it to use the template
you need to do something like '(std::min)(a,b)'.
HTH,
Jurko
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk