summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-06-09 12:03:45 (GMT)
committerBrad King <brad.king@kitware.com>2005-06-09 12:03:45 (GMT)
commit05bd27010979e1c6fa78a4f76e96daa4fa8a8aa4 (patch)
treef9539cd2fd1c409725d52aafc84de8c3f9f9e919 /Source
parent943108cadfd5b43761ff03ebe260d0b04b2a8caa (diff)
downloadCMake-05bd27010979e1c6fa78a4f76e96daa4fa8a8aa4.zip
CMake-05bd27010979e1c6fa78a4f76e96daa4fa8a8aa4.tar.gz
CMake-05bd27010979e1c6fa78a4f76e96daa4fa8a8aa4.tar.bz2
COMP: Disable useless warnings.
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/Configure.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/kwsys/Configure.h.in b/Source/kwsys/Configure.h.in
index 98c8639..a9bc7e7 100644
--- a/Source/kwsys/Configure.h.in
+++ b/Source/kwsys/Configure.h.in
@@ -14,6 +14,7 @@
#ifndef @KWSYS_NAMESPACE@_Configure_h
#define @KWSYS_NAMESPACE@_Configure_h
+/* Setup the export macro. */
#if defined(_WIN32) && @KWSYS_BUILD_SHARED@
# if defined(@KWSYS_NAMESPACE@_EXPORTS)
# define @KWSYS_NAMESPACE@_EXPORT __declspec(dllexport)
@@ -24,4 +25,11 @@
# define @KWSYS_NAMESPACE@_EXPORT
#endif
+/* Disable useless warnings. */
+#if !defined(@KWSYS_NAMESPACE@_NO_WARNING_DISABLE)
+# if defined(_MSC_VER)
+# pragma warning (disable: 4514) /* Unreferenced inline function removed. */
+# endif
+#endif
+
#endif