summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-01-12 15:55:49 (GMT)
committerBrad King <brad.king@kitware.com>2016-01-12 15:55:49 (GMT)
commit33cafa68b85b06c0a88105de24797df3fa44e551 (patch)
treefa62e694b0206c1f35f45ca14275821112442cd1 /Source/kwsys
parentb5009720d3020021f189570d72c099963795a5c5 (diff)
parentffcc235c7ee2528638fd2ae4029eabcd5b0f1042 (diff)
downloadCMake-33cafa68b85b06c0a88105de24797df3fa44e551.zip
CMake-33cafa68b85b06c0a88105de24797df3fa44e551.tar.gz
CMake-33cafa68b85b06c0a88105de24797df3fa44e551.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2016-01-11 (bc07fbf7)
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/Configure.h.in5
-rw-r--r--Source/kwsys/SharedForward.h.in6
2 files changed, 11 insertions, 0 deletions
diff --git a/Source/kwsys/Configure.h.in b/Source/kwsys/Configure.h.in
index 70cf844..cd2d965 100644
--- a/Source/kwsys/Configure.h.in
+++ b/Source/kwsys/Configure.h.in
@@ -115,6 +115,11 @@
# pragma warning (disable: 4710) /* function not inlined */
# pragma warning (disable: 4786) /* identifier truncated in debug info */
# endif
+# if defined(__BORLANDC__) && !defined(__cplusplus)
+ /* Code has no effect; raised by winnt.h in C (not C++) when ignoring an
+ unused parameter using "(param)" syntax (i.e. no cast to void). */
+# pragma warn -8019
+# endif
#endif
/* MSVC 6.0 in release mode will warn about code it produces with its
diff --git a/Source/kwsys/SharedForward.h.in b/Source/kwsys/SharedForward.h.in
index f22fa58..f80ef84 100644
--- a/Source/kwsys/SharedForward.h.in
+++ b/Source/kwsys/SharedForward.h.in
@@ -74,6 +74,12 @@
# endif
#endif
+#if defined(__BORLANDC__) && !defined(__cplusplus)
+ /* Code has no effect; raised by winnt.h in C (not C++) when ignoring an
+ unused parameter using "(param)" syntax (i.e. no cast to void). */
+# pragma warn -8019
+#endif
+
/*--------------------------------------------------------------------------*/
/* Full path to the directory in which this executable is built. Do