Hi David, Sure! I'll add that! Can you enlighten me what this magic incantation does?
All the best Christian -- Christian Schulte, www.ict.kth.se/~cschulte/ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of David Rijsman Sent: Thursday, September 03, 2009 3:03 PM To: [email protected] Subject: [gecode-users] Version 3.x.x and Microsoft Visual C++ 2005 Express Edition Hi, I noticed that version 3.0.x no longer supports the Microsoft Visual C++ 2005 Express Edition and indeed the code does not compile using this compiler. Although the Microsoft Visual C++ 2008 Express Edition is free it is no option for me to use this one. I also noticed it is pretty easy to get the code compiling, running and passing al the tests again using the Microsoft Visual C++ 2005 Express Edition. All one has to do is change in "thread.hh" #ifdef GECODE_THREADS_WINDOWS #include <windows.h> #endif into #ifdef GECODE_THREADS_WINDOWS #ifndef _WIN32_WINNT # define _WIN32_WINNT 0x400 #endif #include <windows.h> #endif this works for 32 bits and 64 bits machine. Perhaps this can be added in the next releases? thanks, David J Rijsman Algorithm Lead Quintiq T +31 (0)73 691 07 39 F +31 (0)73 691 07 54 M +31 (0)62 127 68 29 E [email protected] I www.quintiq.com _______________________________________________ Gecode users mailing list [email protected] https://www.gecode.org/mailman/listinfo/gecode-users _______________________________________________ Gecode users mailing list [email protected] https://www.gecode.org/mailman/listinfo/gecode-users
