>> From: hujingfei...@sina.com >> Compile Simgear error >> Tools: Visual studio 2008 >> ... >> .../sgmisc.hxx(29) : warning C4002: “min”宏的实参太多 >> ...
Hi Hu, I am not sure this will solve all your problems, but certainly those related to 'min' and 'max', which may be all of them... You must define NOMINMAX in the Visual Studio IDE - In Properties -> Configuration Properties -> C/C++ -> Preprocessor -> Preprocessor Definitions just add NOMINMAX to the semicolon (;) separated list... This list should also include things like _USE_MATH_DEFINES; _CRT_SECURE_NO_DEPRECIATE;_CRT_SECURE_NO_WARNINGS;HAVE_CONFIG_H as well as this NOMINMAX And please note the simgear cvslogs is _NOT_ the correct place for user messages. Use this <flightgear-devel@lists.sourceforge.net> or <flightgear-us...@lists.sourceforge.net> Hope this helps... Regards, Geoff. ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel