search back over the list from nov/dec - allot of talk has been going on about this
--- HJ <[EMAIL PROTECTED]> wrote: > I'm attempting to build a vanilla "Modify Half-Life > 2 Multiplayer" > linux_sdk. > > I changed just enough in the Makefile to get the > build process > kickstarted; the files build cleanly until the error > below. > > It seems to be a conflict between some sort of > standard template and > the min() and max() definitions. > > If there's some sort of simple thing I'm missing > before I go pounding > my head against the wall or changing every single > instance of min() > and max() in the HL2 SDK to a different name, I'd > love to hear. :) > > Best, > ~HJ > > Error traceback follows: > > . > . (lots of successful, clean building preceeds...) > . > /usr/bin/g++ -w -I../dlls/../game_shared/hl2 > -I../dlls/. -I../dlls/../ > public -I../dlls/../public/tier1 > -I../dlls/../game_shared -I../ > dlls/../utils/common -I../dlls/../dlls > -I../dlls/../../dlls -I../ > dlls/../dlls/hl2_dll -I../dlls/../dlls/hl2mp_dll > -I../dlls/../ > game_shared/hl2mp -DHL2MP -DHL2_DLL > -DUSES_SAVERESTORE -DNDEBUG - > DGAME_DLL > -Dsprintf=use_Q_snprintf_instead_of_sprintf -DVECTOR > - > Dstrncpy=use_Q_strncpy_instead > -D_snprintf=use_Q_snprintf_instead - > DPROTECTED_THINGS_ENABLE -mtune=i686 -march=pentium > -mmmx -O3 - > fpermissive -D_LINUX -DNDEBUG -Dstricmp=strcasecmp - > D_stricmp=strcasecmp -D_strnicmp=strncasecmp > -Dstrnicmp=strncasecmp - > D_snprintf=snprintf -D_vsnprintf=vsnprintf > -D_alloca=alloca - > Dstrcmpi=strcasecmp > -Usprintf=use_Q_snprintf_instead_of_sprintf - > Ustrncpy=use_Q_strncpy_instead > -UPROTECTED_THINGS_ENABLE -o obj/ > server/dlls/npc_talker.o -c ../dlls/npc_talker.cpp > In file included from > /usr/lib/gcc/i386-redhat-linux/ > 3.4.4/../../../../include/c++/3.4.4/memory:61, > from > /usr/lib/gcc/i386-redhat-linux/ > 3.4.4/../../../../include/c++/3.4.4/string:48, > from > ../dlls/../public/stdstring.h:26, > from ../dlls/ai_playerally.h:18, > from ../dlls/npc_talker.h:32, > from ../dlls/npc_talker.cpp:10: > /usr/lib/gcc/i386-redhat-linux/3.4.4/../../../../include/c++/3.4.4/ > limits:292:22: macro "max" requires 2 arguments, but > only 1 given > > > > > /* > /usr/lib/gcc/i386-redhat-linux/3.4.4/../../../../include/c++/3.4.4/ > limits */ > . > . > . > template<typename _Tp> > struct numeric_limits : public > __numeric_limits_base > { > /** The minimum finite value, or for floating > types with > denormalization, the minimum positive > normalized value. */ > static _Tp min() throw() { return > static_cast<_Tp>(0); } > /** The maximum finite value. */ > static _Tp max() throw() { return > static_cast<_Tp>(0); } / > * <<< This line is line 292 */ > > . > . > . > > _______________________________________________ > To unsubscribe, edit your list preferences, or view > the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -------- My Website http://www.ammahls.com Lead Programer NightFall http://www.nightfallmod.net/ Developer of CST and ZHLT 3.0 http://www.zhlt.tk This email has been sent from Adam McKern, and is not one of the many spam bots that use my email address. If you receive an email that has not got this signature line, please delete the email, and not respond in any way to it. __________________________________ Yahoo! for Good - Make a difference this year. http://brand.yahoo.com/cybergivingweek2005/ _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders