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