From 9c632b778b382f18db3413c2bcaa44d883967fed Mon Sep 17 00:00:00 2001 From: Alexey Pelykh Date: Sun, 10 Feb 2013 09:41:46 +0200 Subject: [PATCH] Proper warning disabling --- src/common.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/common.h b/src/common.h index 907a8375b4..1f74d3382e 100644 --- a/src/common.h +++ b/src/common.h @@ -221,16 +221,10 @@ typedef intptr_t __attribute__((__may_alias__)) intptr_alias_t; } MAKE_NAME(resource_)(name); #ifdef _MSC_VER -# pragma warning( push ) # pragma warning( disable : 4291 ) #endif - inline void* operator new(size_t, void* p) throw() { return p; } -#ifdef _MSC_VER -# pragma warning( pop ) -#endif - namespace vm { inline intptr_alias_t&