Bläddra i källkod

KWSys 2016-01-11 (bc07fbf7)

Code extracted from:

    http://public.kitware.com/KWSys.git

at commit bc07fbf7a884713815b3ac72d85487bf6aa338f5 (master).

Upstream Shortlog
-----------------

James Johnston (1):
      bc07fbf7 Configure: Silence spurious warnings from Embarcadero compiler.
KWSys Upstream 10 år sedan
förälder
incheckning
ffcc235c7e
2 ändrade filer med 11 tillägg och 0 borttagningar
  1. 5 0
      Configure.h.in
  2. 6 0
      SharedForward.h.in

+ 5 - 0
Configure.h.in

@@ -115,6 +115,11 @@
 #  pragma warning (disable: 4710) /* function not inlined */
 #  pragma warning (disable: 4786) /* identifier truncated in debug info */
 # endif
+# if defined(__BORLANDC__) && !defined(__cplusplus)
+   /* Code has no effect; raised by winnt.h in C (not C++) when ignoring an
+      unused parameter using "(param)" syntax (i.e. no cast to void).  */
+#  pragma warn -8019
+# endif
 #endif
 
 /* MSVC 6.0 in release mode will warn about code it produces with its

+ 6 - 0
SharedForward.h.in

@@ -74,6 +74,12 @@
 # endif
 #endif
 
+#if defined(__BORLANDC__) && !defined(__cplusplus)
+  /* Code has no effect; raised by winnt.h in C (not C++) when ignoring an
+     unused parameter using "(param)" syntax (i.e. no cast to void).  */
+# pragma warn -8019
+#endif
+
 /*--------------------------------------------------------------------------*/
 
 /* Full path to the directory in which this executable is built.  Do