COMP: Disable useless warnings.

This commit is contained in:
Brad King 2005-06-09 08:03:45 -04:00
parent 943108cadf
commit 05bd270109
1 changed files with 8 additions and 0 deletions

View File

@ -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