summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-25 09:42:12 (GMT)
committerBrad King <brad.king@kitware.com>2022-01-26 13:58:03 (GMT)
commita8fbe9a2faa8990db86052edffd696d9d0c852d6 (patch)
treec820b653d4d838064c86f92ccf18f69c24ef06ed /Source
parent1b46cd534db5879159d98dad7aa5b1cf34d44058 (diff)
downloadCMake-a8fbe9a2faa8990db86052edffd696d9d0c852d6.zip
CMake-a8fbe9a2faa8990db86052edffd696d9d0c852d6.tar.gz
CMake-a8fbe9a2faa8990db86052edffd696d9d0c852d6.tar.bz2
LexerParser: Suppress LCC warnings in generated code
Diffstat (limited to 'Source')
-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 */