summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Configure.h.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-06-22 18:19:22 (GMT)
committerBrad King <brad.king@kitware.com>2009-06-22 18:19:22 (GMT)
commitd3679610c6b60ff442a3f467b47005ea7c3996c1 (patch)
treef67205289c5b91c5fe33e53ce37a5ea8a024309f /Source/kwsys/Configure.h.in
parentd445275ed0f16c8f6d7b9d9e34082c10b3449d7e (diff)
downloadCMake-d3679610c6b60ff442a3f467b47005ea7c3996c1.zip
CMake-d3679610c6b60ff442a3f467b47005ea7c3996c1.tar.gz
CMake-d3679610c6b60ff442a3f467b47005ea7c3996c1.tar.bz2
COMP: Quiet aggressive Borland warnings in KWSys
This disables Borland warning 8027 while compiling KWSys source files. It provides no useful information.
Diffstat (limited to 'Source/kwsys/Configure.h.in')
-rw-r--r--Source/kwsys/Configure.h.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/kwsys/Configure.h.in b/Source/kwsys/Configure.h.in
index 85e4cdb..8ab4de8 100644
--- a/Source/kwsys/Configure.h.in
+++ b/Source/kwsys/Configure.h.in
@@ -22,6 +22,13 @@
# define kwsysEXPORT @KWSYS_NAMESPACE@_EXPORT
#endif
+/* Disable some warnings inside kwsys source files. */
+#if defined(KWSYS_NAMESPACE)
+# if defined(__BORLANDC__)
+# pragma warn -8027 /* function not inlined. */
+# endif
+#endif
+
/* Whether kwsys namespace is "kwsys". */
#define @KWSYS_NAMESPACE@_NAME_IS_KWSYS @KWSYS_NAME_IS_KWSYS@