This is easy to verify at compile time if the proper __attribute__ ((__format__ (__printf__, 2, 3))) tags were added to DevMsg in the public/tier0/dbg.h. Unfortunately as mentioned on the wiki and the mailing list in the past, there's a lot of effort involved in getting the SDK to compile with standard warnings enabled. You could do a grep for those particular errors though, and then revert to get the compile to succeed.
Nick wrote: > Hi again... > > LOL this might be one of the longest times you have ever gotten a > reply back from someone... but, is it possible to force windows to > crash when this bug happens? I primarily code/debug/test on windows > (because there is no linux client).. It would be easier if it crashed > on windows so then I wouldn't have to hunt around in linux for such > bugs. > > > > > On Aug 3, 2005 12:49 PM, Alfred Reynolds <[EMAIL PROTECTED]> > wrote: >> Try m_iHealth.Get(). It is just pure dumb luck that it works on windows >> (it happens to work because msdev puts the int value of the >> CNetworkVar() at the very start of the class, Linux has its type >> information there instead). >> >> - Alfred >> >> >> ----Original Message---- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Nick Sent: >> Wednesday, August 03, 2005 11:43 AM To: [email protected] >> Subject: [hlcoders] Linux srcds crashes with DevMsg and CNetworkVars >> >> > There seems to be a problem with the linux srcds, that isn't in the >> > windows srcds. >> > >> > For example: >> > DevMsg("Health: %d\n", m_iHealth); >> > >> > This will work on all windows servers with no problems. But will >> > crash a linux server every single time with a "segementation" fault. >> > >> > >> > Is there currently a workaround, has anyone else encountered this >> > problem before? >> > >> > _______________________________________________ >> > To unsubscribe, edit your list preferences, or view the list >> > archives, please visit: >> > http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list >> archives, please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >> > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

