From: Christian Würdig Date: Tue, 16 May 2006 14:04:05 +0000 (+0000) Subject: disable deprecated warning X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=9a9e95eacbdaeea046bdfc47cfd9ebc64bce6719;p=libfirm disable deprecated warning [r7736] --- diff --git a/vc2005/config.h b/vc2005/config.h index 618cdd7c4..3c39f3f46 100644 --- a/vc2005/config.h +++ b/vc2005/config.h @@ -124,10 +124,17 @@ #define INLINE #endif +#ifdef _MSC_VER + /* disable warning "unreferenced inline function has been removed" */ /* zu deutsch: "Nichtreferenzierte Inline-Funktion wurde entfernt" :) */ -#ifdef _MSC_VER #pragma warning( disable : 4514 ) + +/* disable warning: 'foo' was declared deprecated, use 'bla' instead */ +/* of course MS had to make 'bla' incompatible to 'foo', so a simple */ +/* define will not work :-((( */ +#pragma warning( disable : 4996 ) + #endif /* _MSC_VER */ /* map some non-POSIX names for Win32 */