VC++ 2005 Express appears to no longer be available from Microsoft, so I'm not sure how much of a choice they have.
On 11/24/07, Ondřej Hošek <[EMAIL PROTECTED]> wrote: > And subsequently delay it for five years? God no. > > ~~ Ondra > > On 25.11.07 1:03 Uhr, Adam Maras (memzero) wrote: > > *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 > > -- Andrew Timson ============== "Niceness is the greatest human flaw, except for all the others." --Brendan Moody _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

