Boost logo

Boost Users :

From: Vyacheslav E. Andrejev (vandrejev_at_[hidden])
Date: 2004-11-17 03:22:08


VK> Hello Timothy,
VK>
VK> Tuesday, November 16, 2004, 10:13:42 PM, you wrote:
VK>
Timothy>> I have a fresh install of the 1.32 draft release tarball
Timothy>> compiled with the intel-win32 environment (I have Intel's C++
Timothy>> version 8.1 installed). I started getting the following
Timothy>> warning when I uprgaded the draft tarballs (I'm using intel's
Timothy>> 8.1 compiler in Visual Studio .NET):
Timothy>>
Timothy>> C:\Projects\base\boost\boost/date_time/gregorian/greg_facet.hp
Timothy>> p(293):
Timothy>> warning #54: too few arguments in macro invocation
Timothy>> greg_month::max(), s);
Timothy>> Any advice on what I could be doing wrong?
Timothy>>
VK> Try to add
VK>
VK> #undef max
VK> #undef min
VK> before inclusion of date_time headers.
VK> This looks ugly, but should help for now.

Define NOMINMAX in project's settings would be less ugly.

-- 
Vyacheslav E. Andrejev
System Architect, Excelsior, LLC

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