Hello Max, This has been extensively discussed on the mailing list the last couple of weeks. We decided it causes trouble for too many people, and we'll look into a solution soon (other than defining NOMINMAX). Note that this is still windows.h's fault, not Wt's :)
Best regards, Wim. 2010/2/24 little.max <[email protected]>: > Hi Wt-Community! > > I just builded wt-3.1.1b with msvc++ 2008 and got an compile error because > of the use of std::max at a few places. > I think it is because of including 'windows.h' in WtRandom.c and > random_device.c. > > I defined NOMINMAX in the two projects 'wt' and 'wtext' and everything > worked fine! > > best regards > Max Quatember > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
