Browse Source

LexerParser: Suppress LCC warnings in generated code

Brad King 3 năm trước cách đây
mục cha
commit
a8fbe9a2fa
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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 */