]> git.pond.sub.org Git - empserver/commitdiff
Remove pragmas that promote certain serious warnings to errors on
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 14 Dec 2003 10:15:03 +0000 (10:15 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 14 Dec 2003 10:15:03 +0000 (10:15 +0000)
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

index ce704d1a8806c30fbaf1ade9ea89fe7977dfa6a3..032eb45ea381c5de1feb6bd7c9a5bdd86bb3f331 100644 (file)
@@ -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 )