Sfoglia il codice sorgente

COMP: Quiet aggressive Borland warnings in KWSys

This disables Borland warning 8027 while compiling KWSys source files.
It provides no useful information.
Brad King 16 anni fa
parent
commit
d3679610c6
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      Source/kwsys/Configure.h.in

+ 7 - 0
Source/kwsys/Configure.h.in

@@ -22,6 +22,13 @@
 # define kwsysEXPORT @KWSYS_NAMESPACE@_EXPORT
 #endif
 
+/* Disable some warnings inside kwsys source files.  */
+#if defined(KWSYS_NAMESPACE)
+# if defined(__BORLANDC__)
+#  pragma warn -8027 /* function not inlined.  */
+# endif
+#endif
+
 /* Whether kwsys namespace is "kwsys".  */
 #define @KWSYS_NAMESPACE@_NAME_IS_KWSYS @KWSYS_NAME_IS_KWSYS@