From 14c14f3d50f16fe4a3c158577a2abfa9d757f219 Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Mon, 22 Jun 2009 14:19:22 -0400
Subject: [PATCH] COMP: Quiet aggressive Borland warnings in KWSys

This disables Borland warning 8027 while compiling KWSys source files.
It provides no useful information.
---
 Configure.h.in | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Configure.h.in b/Configure.h.in
index 2cb58134..f83b7e46 100644
--- a/Configure.h.in
+++ b/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@
 
-- 
GitLab