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.
This commit is contained in:
Markus Armbruster 2003-12-14 10:15:03 +00:00
parent be168eba05
commit 5dde6b52a9

View file

@ -51,17 +51,6 @@ typedef unsigned short u_short;
typedef char *caddr_t; typedef char *caddr_t;
typedef unsigned int u_int; 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 */ /* integral mismatch, due to misuse of sector short */
#pragma warning (disable : 4761 ) #pragma warning (disable : 4761 )