diff options
author | KWSys Upstream <kwrobot@kitware.com> | 2016-01-11 16:30:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-01-12 15:55:49 (GMT) |
commit | ffcc235c7ee2528638fd2ae4029eabcd5b0f1042 (patch) | |
tree | 05662906f85536d44408801de75813640cbabd3a | |
parent | 8e7356a2921c769c091c52140564b04108e692c4 (diff) | |
download | CMake-ffcc235c7ee2528638fd2ae4029eabcd5b0f1042.zip CMake-ffcc235c7ee2528638fd2ae4029eabcd5b0f1042.tar.gz CMake-ffcc235c7ee2528638fd2ae4029eabcd5b0f1042.tar.bz2 |
KWSys 2016-01-11 (bc07fbf7)
Code extracted from:
http://public.kitware.com/KWSys.git
at commit bc07fbf7a884713815b3ac72d85487bf6aa338f5 (master).
Upstream Shortlog
-----------------
James Johnston (1):
bc07fbf7 Configure: Silence spurious warnings from Embarcadero compiler.
-rw-r--r-- | Configure.h.in | 5 | ||||
-rw-r--r-- | SharedForward.h.in | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Configure.h.in b/Configure.h.in index 70cf844..cd2d965 100644 --- a/Configure.h.in +++ b/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/SharedForward.h.in b/SharedForward.h.in index f22fa58..f80ef84 100644 --- a/SharedForward.h.in +++ b/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 |