diff options
author | Brad King <brad.king@kitware.com> | 2021-04-27 14:02:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-04-28 14:09:35 (GMT) |
commit | 16275c7f82180b2c6f207d2dc9a6f4187ae2e486 (patch) | |
tree | 0e292a50217f32c1fc04c983663949f4ec7161f9 /Source/cmStandardLexer.h | |
parent | cefda16d357b6d75ffb70fd9036ca62da87432d7 (diff) | |
download | CMake-16275c7f82180b2c6f207d2dc9a6f4187ae2e486.zip CMake-16275c7f82180b2c6f207d2dc9a6f4187ae2e486.tar.gz CMake-16275c7f82180b2c6f207d2dc9a6f4187ae2e486.tar.bz2 |
LexerParser: Suppress NVHPC warnings in generated code
Diffstat (limited to 'Source/cmStandardLexer.h')
-rw-r--r-- | Source/cmStandardLexer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmStandardLexer.h b/Source/cmStandardLexer.h index b871f5f..417f14d 100644 --- a/Source/cmStandardLexer.h +++ b/Source/cmStandardLexer.h @@ -50,6 +50,11 @@ # endif #endif +#if defined(__NVCOMPILER) +# pragma diag_suppress 111 /* statement is unreachable */ +# pragma diag_suppress 550 /* variable set but never used */ +#endif + /* Make sure isatty is available. */ #if defined(_WIN32) && !defined(__CYGWIN__) # include <io.h> |