[138968] trunk/base/src/machista1.0/machista_wrap.c

raimue at macports.org raimue at macports.org
Sat Jul 25 04:45:23 PDT 2015


Revision: 138968
          https://trac.macports.org/changeset/138968
Author:   raimue at macports.org
Date:     2015-07-25 04:45:23 -0700 (Sat, 25 Jul 2015)
Log Message:
-----------
machista: Ignore warnings about missing initializers in the code generated by SWIG

Modified Paths:
--------------
    trunk/base/src/machista1.0/machista_wrap.c

Modified: trunk/base/src/machista1.0/machista_wrap.c
===================================================================
--- trunk/base/src/machista1.0/machista_wrap.c	2015-07-25 11:40:05 UTC (rev 138967)
+++ trunk/base/src/machista1.0/machista_wrap.c	2015-07-25 11:45:23 UTC (rev 138968)
@@ -1,3 +1,12 @@
+/*
+ * Non-generated MacPorts addition:
+ * Ignore these warnings in the generated SWIG code below.
+ *
+ * Please retain these #pragmas when regenerating the file!
+ */
+#pragma GCC   diagnostic ignored "-Wmissing-field-initializers"
+#pragma clang diagnostic ignored "-Wmissing-field-initializers"
+
 /* ----------------------------------------------------------------------------
  * This file was automatically generated by SWIG (http://www.swig.org).
  * Version 3.0.5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150725/3140c636/attachment.html>


More information about the macports-changes mailing list