Browse Source

Merge topic 'lcc-lexer-warnings'

a8fbe9a2fa LexerParser: Suppress LCC warnings in generated code

Acked-by: Kitware Robot <[email protected]>
Merge-request: !6896
Brad King 3 years ago
parent
commit
1acf9aec75
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Source/cmStandardLexer.h

+ 4 - 0
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 */