|
Boost Users : |
From: Cory Nelson (phrosty_at_[hidden])
Date: 2004-11-29 01:11:53
windows.h defines the min() and max() macros - tends to mess up c++ so
you can define NOMINMAX before any headers if you dont want that.
On Sun, 28 Nov 2004 17:54:26 -0700, Victor A. Wagner Jr.
<vawjr_at_[hidden]> wrote:
> At Sunday 2004-11-28 10:26, you wrote:
> >Hello,
> >
> >I just wanted to see if there are others getting this warning in VC7 with
> >Boost 1.32, or it's just me doing something wrong with the #include order or
> >forgetting a #define.
> >
> >The warning reads:
> >C:\Boost\include\boost-1_32\boost\date_time\gregorian\greg_facet.hpp(293) :
> >warning C4003: not enough actual parameters for macro 'max'
>
> yes I get them also.
> I don't know what "macro" it refers to either
> I'm using vc7.1 and stdlib.h explicitly doesn't #define max(a,b) if
> __cplusplus is defined.
> so I'm puzzled
>
>
>
>
> >thanks for any help...
> >
> >Dan
> >
> >
> >---
> >Outgoing mail is certified Virus Free.
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.802 / Virus Database: 545 - Release Date: 26-Nov-04
> >
> >
> >
> >_______________________________________________
> >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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
-- Cory Nelson http://www.int64.org
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