summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-27 16:08:15 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-01-27 16:08:26 (GMT)
commit1acf9aec759026f80eafbc649f56d9fce9cab7f6 (patch)
tree6e850f88f3d7f0042b02b6de3548b9a98b9c4d07
parent6f2e478b865d9dd78dc713aea2204e431ff3d613 (diff)
parenta8fbe9a2faa8990db86052edffd696d9d0c852d6 (diff)
downloadCMake-1acf9aec759026f80eafbc649f56d9fce9cab7f6.zip
CMake-1acf9aec759026f80eafbc649f56d9fce9cab7f6.tar.gz
CMake-1acf9aec759026f80eafbc649f56d9fce9cab7f6.tar.bz2
Merge topic 'lcc-lexer-warnings'
a8fbe9a2fa LexerParser: Suppress LCC warnings in generated code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6896
-rw-r--r--Source/cmStandardLexer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmStandardLexer.h b/Source/cmStandardLexer.h
index 417f14d..2722528 100644
--- a/Source/cmStandardLexer.h
+++ b/Source/cmStandardLexer.h
@@ -50,6 +50,10 @@
# endif
#endif
+#if defined(__LCC__)
+# pragma diag_suppress 1873 /* comparison between signed and unsigned */
+#endif
+
#if defined(__NVCOMPILER)
# pragma diag_suppress 111 /* statement is unreachable */
# pragma diag_suppress 550 /* variable set but never used */