RE: Some trouble with qldefines.hpp
Posted by
Jens Thiel on
Nov 02, 2001; 12:33am
URL: http://quantlib.414.s1.nabble.com/Some-trouble-with-qldefines-hpp-tp1787p1788.html
#define NOMINMAX
before (directly or indirectly) including WinDef.h usually solves this kind
of problems (but may spawn others with eg. ATL headers, so you may need to
define some replacements).
Regards,
Jens.
--
/* Jens Thiel * Stochastix GmbH, Germany * +49-700-STOCHASTIX */
> -----Original Message-----
> From: Nicolas Di Césaré
> Sent: Wednesday, October 31, 2001 11:40 AM
> To: QuantLib Users
> Subject: [Quantlib-users] Some trouble with qldefines.hpp
>
>
> Hi all,
>
> I have some trouble with numeric_limits<>::max() under visual
> C++. It conflicts with macro max.