VS 2008 _vsnprintf declaration conflict
Hello, I am trying to compile zone with VS 2008 Express for the first time, and ran into the following error:
Code:
Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : error C3163: Any ideas? Thanks for any help! :) |
I was trying to get EQEmu to compile at the weekend with 2008 express. To get around this particular problem, based on the info in this post:
http://forums.microsoft.com/MSDN/Sho...31152&SiteID=1 I did a Find/Replace in files and replaced all occurrences of: #define vsnprintf _vsnprintf with nothing, i.e. delete all occurrences of that #define. It seems the vsnprintf function was called _vsnprintf in previous versions of Visual C++, hence the need for that define. |
Thanks, Derision. I did a similar thing. In types.h I commented out that line and it compiled. However, it doesn't run properly, so I've reverted back to 2005 for now.
|
All times are GMT -4. The time now is 10:48 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.