mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Remove warning about unknown cast-function-type warning pragma.
This commit is contained in:
parent
c602ba7319
commit
d3b3d64ef3
2 changed files with 4 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
%}
|
||||
|
|
|
|||
Loading…
Reference in a new issue