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
41dac805f5
commit
bea61fc37c
2 changed files with 4 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
27 June 2023: George
|
27 June 2023: George
|
||||||
- Merge #892: Add cachedb hit stat. Introduces 'num.query.cachedb' as
|
- Merge #892: Add cachedb hit stat. Introduces 'num.query.cachedb' as
|
||||||
a new statistical counter.
|
a new statistical counter.
|
||||||
|
- Remove warning about unknown cast-function-type warning pragma.
|
||||||
|
|
||||||
22 June 2023: Wouter
|
22 June 2023: Wouter
|
||||||
- Merge #903: contrib: add yocto compatible init script.
|
- Merge #903: contrib: add yocto compatible init script.
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,9 @@
|
||||||
%begin %{
|
%begin %{
|
||||||
/* store state of warning output, restored at later pop */
|
/* store state of warning output, restored at later pop */
|
||||||
#pragma GCC diagnostic push
|
#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 */
|
/* ignore gcc8 METH_NOARGS function cast warnings for swig function pointers */
|
||||||
#pragma GCC diagnostic ignored "-Wcast-function-type"
|
#pragma GCC diagnostic ignored "-Wcast-function-type"
|
||||||
%}
|
%}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue