Boost logo

Boost Users :

From: Victor A. Wagner Jr. (vawjr_at_[hidden])
Date: 2004-11-29 22:54:30


At Monday 2004-11-29 02:11, you wrote:
>Hello Victor,
>
>
>VW> IMNSHO both of those are unacceptable solutions... date_time should
>VW> be
>VW> doing that itself.
>Sorry, should do what? WinDef.h defines min and max macros, if NOMINMAX is
>undefined. So date_time should somehow have specific behavior for windows
>headers?
>
>VW> it also doesn't explain why with 7.1 (which has the defines bounded
>VW> by
>VW> #ifndef __cplusplus
>VW> #endif
>VW> that the problem still exists
>There is no "#ifndef __cplusplus\n#endif" around min and max definition in
>WinDef.h, and IMHO shouldn't be.
>

why not? all C++ users are supposed to know that they have to #define
NOMINMAX if they're going to use windows? and if my defining it beforehand
doesn't break anything, then neither would their doing it automatically.

>--
>Vyacheslav E. Andrejev
>System Architect, Excelsior, LLC
>
>
>
>
>_______________________________________________
>Boost-users mailing list
>Boost-users_at_[hidden]
>http://lists.boost.org/mailman/listinfo.cgi/boost-users

Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
               "There oughta be a law"


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net