I have no plans right now to make the mod source code work with VS 2008 since we are still using VS 2005 internally. So I'd suggest using VS 2005 Express rather than VS 2008 Express.
If this is a really big problem for some of you then I can spend some time getting this to work once the updated SDK source code is released. But the initial release definitely won't have VS 2008 support. -Mike -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Maras (memzero) Sent: Saturday, November 24, 2007 4:04 PM To: [email protected] Subject: Re: [hlcoders] Compiling with Visual C++ 2008 Express Edition *sigh* Well, hopefully Mike Durand reads this and makes sure it isn't an issue in the new version of the source code (hint hint!) // Adam Maras (memzero) Ondřej Hošek wrote: > http://scottbilas.blogspot.com/2007/10/figuring-out-how-to-override-malloc-and.html > > > I guess this pretty much describes the problem which has been "solved" > by memoverride.cpp at Valve. > > Unfortunately, there is no way to shut the linker up about those > warnings (the previously undocumented-yet-existent /IGNORE switch was, > AFAIK, removed with VS2k5) without dumping memoverride.cpp, which then > might go on to break other things. > > We'll have to wait for Valve to do something about this problem (if they > will). Until then, you're going to just have to clench your teeth and > ignore the warnings. > > ~~ Ondra > > On 24.11.07 23:25 Uhr, Adam Maras (memzero) wrote: >> I've got more errors than just those functions... it looks it's a bunch >> of the _Crt and *_dbg functions in memoverride.cpp. I can't simply >> undefine them, or the game won't start. >> >> // Adam Maras (memzero) >> >> Jorge Rodriguez wrote: >>> -- >>> [ Picked text/plain from multipart/alternative ] >>> I remember getting similar errors after applying a patch that I >>> found on >>> some wiki. I removed the patch and it worked. This may or may not >>> help you >>> but this is the patch that fixed that problem for me. >>> >>> Index: memoverride.cpp >>> =================================================================== >>> --- memoverride.cpp (revision 40) >>> +++ memoverride.cpp (revision 41) >>> @@ -403,28 +399,28 @@ >>> #ifdef _WIN32 >>> >>> #if defined(_DEBUG) && _MSC_VER >= 1300 >>> -void __cdecl _aligned_free( >>> +void __cdecl _aligned_free_base( >>> void * >>> ); >>> >>> -void * __cdecl _aligned_malloc( >>> +void * __cdecl _aligned_malloc_base( >>> size_t, >>> size_t >>> ); >>> >>> -void * __cdecl _aligned_malloc_base( >>> +void * __cdecl _aligned_malloc( >>> size_t size, >>> size_t align >>> ) >>> { >>> - return _aligned_malloc(size, align); >>> + return _aligned_malloc_base(size, align); >>> } >>> >>> -void __cdecl _aligned_free_base( >>> +void __cdecl _aligned_free( >>> void *memblock >>> ) >>> { >>> - _aligned_free(memblock); >>> + _aligned_free_base(memblock); >>> } >>> #endif >>> #endif >>> >>> -- >>> Jorge "Vino" Rodriguez >>> -- > > _______________________________________________ > 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

