diff options
author | Brad King <brad.king@kitware.com> | 2016-01-13 14:33:13 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-01-13 14:33:13 (GMT) |
commit | ef3202fb98bf3dd56ee5eca06f169270619064e3 (patch) | |
tree | e16300519b960556f1145eeda724fc3499eba096 /Source | |
parent | 39b7954d4de734d6f08fab1a6fb442abc2e9bb5c (diff) | |
parent | 33cafa68b85b06c0a88105de24797df3fa44e551 (diff) | |
download | CMake-ef3202fb98bf3dd56ee5eca06f169270619064e3.zip CMake-ef3202fb98bf3dd56ee5eca06f169270619064e3.tar.gz CMake-ef3202fb98bf3dd56ee5eca06f169270619064e3.tar.bz2 |
Merge topic 'update-kwsys'
33cafa68 Merge branch 'upstream-KWSys' into update-kwsys
ffcc235c KWSys 2016-01-11 (bc07fbf7)
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/Configure.h.in | 5 | ||||
-rw-r--r-- | Source/kwsys/SharedForward.h.in | 6 |
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 |