From 5dde6b52a91f244b59ae9d70526fe96d7b002351 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 14 Dec 2003 10:15:03 +0000 Subject: [PATCH] Remove pragmas that promote certain serious warnings to errors on windows. For obvious reasons, such warnings ought to be fixed. Making compilation abort is the sledgehammer method to force that. It's a stupid method for us, as we develop on various platforms, and don't test every single commit under Windows. It gratuitously breaks programs that work fine. Leave them as warnings, and fix them on sight. --- include/misc.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/misc.h b/include/misc.h index ce704d1a..032eb45e 100644 --- a/include/misc.h +++ b/include/misc.h @@ -51,17 +51,6 @@ typedef unsigned short u_short; typedef char *caddr_t; typedef unsigned int u_int; -/* Promote warning to error - undefined function. assuming eternal int */ -#pragma warning (error : 4013 ) -/* Promote warning to error - Too many actual parameters */ -#pragma warning (error : 4020 ) -/* Promote warning to error - different types for formal and actual parameter */ -#pragma warning (error : 4024 ) -/* Promote warning to error - Formal parameter different from declaration */ -#pragma warning (error : 4028 ) -/* Promote warning to error - Parameters to void function. */ -#pragma warning (error : 4087 ) - /* integral mismatch, due to misuse of sector short */ #pragma warning (disable : 4761 )