diff options
author | Brad King <brad.king@kitware.com> | 2022-12-09 12:53:53 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-12-09 12:54:00 (GMT) |
commit | 8e46329f35751f1d3b84d41c9d0bf691949c59be (patch) | |
tree | 3a76f7101579315d62403cd1d049aa9acc86d37a | |
parent | 1652616f9566d2f2f358dca25ebab9c8be9287be (diff) | |
parent | b1577f7a6a5352ee1f8d43406ccf6c612558205d (diff) | |
download | CMake-8e46329f35751f1d3b84d41c9d0bf691949c59be.zip CMake-8e46329f35751f1d3b84d41c9d0bf691949c59be.tar.gz CMake-8e46329f35751f1d3b84d41c9d0bf691949c59be.tar.bz2 |
Merge topic 'lcc-upd-warning'
b1577f7a6a LCC: Update -Wunused-variable warning number as of LCC 1.26.16
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8006
-rw-r--r-- | Source/cmFindPackageCommand.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx index 60b0a7b..71c7e13 100644 --- a/Source/cmFindPackageCommand.cxx +++ b/Source/cmFindPackageCommand.cxx @@ -379,6 +379,8 @@ private: # pragma diag_suppress 3288 // parameter was declared but never referenced # define CM_LCC_DIAG_SUPPRESS_3301 # pragma diag_suppress 3301 // parameter was declared but never referenced +# define CM_LCC_DIAG_SUPPRESS_3308 +# pragma diag_suppress 3308 // parameter was declared but never referenced #endif void ResetGenerator() @@ -423,6 +425,11 @@ bool TryGeneratedPaths(CallbackFn&& filesCollector, return false; } +#ifdef CM_LCC_DIAG_SUPPRESS_3308 +# undef CM_LCC_DIAG_SUPPRESS_3308 +# pragma diag_default 3308 +#endif + #ifdef CM_LCC_DIAG_SUPPRESS_3301 # undef CM_LCC_DIAG_SUPPRESS_3301 # pragma diag_default 3301 |