Boost logo

Boost :

Subject: Re: [boost] [xpressive] Performance Tuning?
From: Edward Grace (ej.grace_at_[hidden])
Date: 2009-07-19 21:12:05


On 20 Jul 2009, at 02:07, Steven Watanabe wrote:

> AMDG
>
> Edward Grace wrote:
>>> 1>R:\Programming_Projects\Spirit_Price\ejg_uint_parser_timing
>>> \other_includes\ejg/timer.cpp(273)
>>>
>>> : warning C4003: not enough actual parameters for macro 'max'
>>
>> time_raw_atom( _Operation f) {
>> ticks t0(0),t1(0),delta(std::numeric_limits<ticks>::max());
>>
>> Ok. I bet MSVC (that's what you're using right) defines macros
>> called
>> "min" and "max". I guess that's what happens when one sips from the
>> teat of the devil. A couple of undefs perhaps..
>
> Strictly speaking it's windows.h not msvc that #define's min and max.
> See
> http://www.boost.org/development/
> requirements.html#Design_and_Programming
> for acceptable workarounds.

Thanks. Cap duly doffed.

-ed

-------------------------------------------
"No more boom and bust." -- Dr. J. G. Brown, 1997


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