summaryrefslogtreecommitdiff
path: root/Source/kwsys
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-06-22 14:19:22 -0400
committerBrad King <brad.king@kitware.com>2009-06-22 14:19:22 -0400
commitd3679610c6b60ff442a3f467b47005ea7c3996c1 (patch)
treef67205289c5b91c5fe33e53ce37a5ea8a024309f /Source/kwsys
parentd445275ed0f16c8f6d7b9d9e34082c10b3449d7e (diff)
downloadcmake-d3679610c6b60ff442a3f467b47005ea7c3996c1.tar.gz
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')
-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 85e4cdbe53..8ab4de893e 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@