]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Remove warning about unknown cast-function-type warning pragma.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 16 Aug 2019 10:52:58 +0000 (12:52 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 16 Aug 2019 10:52:58 +0000 (12:52 +0200)
doc/Changelog
pythonmod/interface.i

index bc01fd363331c05b98d18f58f7a277a2f91a7105..0ba7b9a3826b64ea9e29f93769cdfff879122628 100644 (file)
@@ -8,6 +8,7 @@
          positive.
        - Please doxygen's parser for "@" occurrence in doxygen comment.
        - Fixup contrib/fastrpz.patch
+       - Remove warning about unknown cast-function-type warning pragma.
 
 15 August 2019: Wouter
        - iana portlist updated.
index b4b1c7b704cd68b4a395b43b9d5eaf5560ba750b..c02ebaf951d0b131ca82b24da9b2cac17117002e 100644 (file)
@@ -4,6 +4,9 @@
 %begin %{
 /* store state of warning output, restored at later pop */
 #pragma GCC diagnostic push
+/* ignore warnings for pragma below, where for older GCC it can produce a
+   warning if the cast-function-type warning is absent. */
+#pragma GCC diagnostic ignored "-Wpragmas"
 /* ignore gcc8 METH_NOARGS function cast warnings for swig function pointers */
 #pragma GCC diagnostic ignored "-Wcast-function-type"
 %}