From f3beae213c05b0fd3f020666b67dfd87c28d4b36 Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Thu, 3 Sep 2009 11:10:06 -0400
Subject: [PATCH] COMP: Silence useless Borland inlining warning

KWSys tries not to force anything on source files that include its
headers, but Borland warning 8027 leaves us no choice when we want to
have inline function definitions.  This commit disables the warning for
the RegularExpression header and any file that includes it.
---
 RegularExpression.hxx.in | 6 ++++++
 kwsysDateStamp.cmake     | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/RegularExpression.hxx.in b/RegularExpression.hxx.in
index 827452a8..98c93a38 100644
--- a/RegularExpression.hxx.in
+++ b/RegularExpression.hxx.in
@@ -42,6 +42,12 @@
 # define kwsys_stl @KWSYS_NAMESPACE@_stl
 #endif
 
+/* Disable useless Borland warnings.  KWSys tries not to force things
+   on its includers, but there is no choice here.  */
+#if defined(__BORLANDC__)
+# pragma warn -8027 /* function not inlined.  */
+#endif
+
 namespace @KWSYS_NAMESPACE@
 {
 
diff --git a/kwsysDateStamp.cmake b/kwsysDateStamp.cmake
index 64f208c0..bb646927 100644
--- a/kwsysDateStamp.cmake
+++ b/kwsysDateStamp.cmake
@@ -4,7 +4,7 @@
 SET(KWSYS_DATE_STAMP_YEAR  2009)
 
 # KWSys version date month component.  Format is MM.
-SET(KWSYS_DATE_STAMP_MONTH 08)
+SET(KWSYS_DATE_STAMP_MONTH 09)
 
 # KWSys version date day component.  Format is DD.
-SET(KWSYS_DATE_STAMP_DAY   31)
+SET(KWSYS_DATE_STAMP_DAY   03)
-- 
GitLab