Message-
> From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf Of
> Filip Konvicka
> Sent: Thursday, July 30, 2009 12:39 PM
> To: us...@gecode.org
> Subject: Re: [gecode-users] help--trouble on using Gecode in VS2008
>
> Hi,
>
> you might not be
-boun...@gecode.org] On Behalf Of
Filip Konvicka
Sent: Thursday, July 30, 2009 12:39 PM
To: us...@gecode.org
Subject: Re: [gecode-users] help--trouble on using Gecode in VS2008
Hi,
you might not be aware of the NOMINMAX macro, which can be #defined
before #including windows.h (maybe a good place to
Hi,
you might not be aware of the NOMINMAX macro, which can be #defined
before #including windows.h (maybe a good place to do it is in the
project settings, or on the compiler command line). This prevents
windows.h defining the min and max macros.
HTH,
Filip
> Hi,
>
>
>
> I know that pro
Hi Christian,
Thanks for your reply! I forgot to tell you that i used Gecode (3.1.0). As
you said, i found the file "gecode/support/thread.hh" and added some lines
in my project files. It can run OK. Thank you for letting me know the
reason. More important is that I will not feel lone in studying
Hi,
I know that problem: unfortunately the windows headers you include define
the macros min and max (which is a bug in the windows headers). What you
should do is after including the windows headers files, add the following:
#ifdef min
#undef min
#endif
#ifdef max
#undef max
#endif