[Libreoffice-commits] core.git: include/tools

Stephan Bergmann sbergman at redhat.com
Tue Oct 13 06:37:02 PDT 2015


 include/tools/solar.h |   11 -----------
 1 file changed, 11 deletions(-)

New commits:
commit 94b64bca66f656c45b85f7f49b1bcb8c2e9cfad0
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Oct 13 15:35:01 2015 +0200

    These warnings are covered by --enable-werror anyway
    
    ...so remove these remnants from a time when developers got away with ignoring
    warnings and tools/solar.h was considered the center of the universe
    
    Change-Id: I526c6b44fafb98e8400f2ab122dbb7e2bfbb3480

diff --git a/include/tools/solar.h b/include/tools/solar.h
index 717ad78..4e099c4 100644
--- a/include/tools/solar.h
+++ b/include/tools/solar.h
@@ -106,17 +106,6 @@ inline void     DoubleToSVBT64( double n, SVBT64 p ) { p[0] = reinterpret_cast<s
 #endif
 #endif
 
-// pragmas
-
-#if defined _MSC_VER
-/* deletion of pointer to incomplete type '...'; no destructor called
- serious error, memory deleted without call of dtor */
-#pragma warning( error: 4150 )
-// warning C4002: too many actual parameters for macro
-// warning C4003: not enough actual parameters for macro
-#pragma warning(error : 4002 4003)
-#endif
-
 #if defined WNT
 #define SVLIBRARY( Base ) Base "lo.dll"
 #elif defined MACOSX


More information about the Libreoffice-commits mailing list