summaryrefslogtreecommitdiff
path: root/config.h.W32.template
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2006-01-04 14:45:16 +0000
committerPaul Smith <psmith@gnu.org>2006-01-04 14:45:16 +0000
commit64e16d6c00a59fcff9681e032ac8dbec46d3e960 (patch)
tree48a8511b273fdfc555442951b97cca3fceb79ee6 /config.h.W32.template
parent3d0d9e5d75eecd48d106918e0f568590f67fc26a (diff)
downloadgunmake-64e16d6c00a59fcff9681e032ac8dbec46d3e960.tar.gz
Various changes getting ready for the release of 3.81.
- Updates to make.texi and make.1 and other documentation - Some VMS patches - Fix minor bugs reported on the mailing list and from Debian.
Diffstat (limited to 'config.h.W32.template')
-rw-r--r--config.h.W32.template8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h.W32.template b/config.h.W32.template
index 956fc17..160f120 100644
--- a/config.h.W32.template
+++ b/config.h.W32.template
@@ -1,5 +1,13 @@
/* config.h.W32 -*-C-*- */
+/* Suppress some Visual C++ warnings.
+ Maybe after the code cleanup for ISO C we can remove some/all of these. */
+#if _MSC_VER > 1000
+# pragma warning(disable:4100) /* unreferenced formal parameter */
+# pragma warning(disable:4127) /* conditional expression is constant */
+# pragma warning(disable:4702) /* unreachable code */
+#endif
+
/* Define to 1 if the `closedir' function returns void instead of `int'. */
/* #undef CLOSEDIR_VOID */