Unbound 1.9.3rc2 pre-release

Wouter Wijngaards wouter at nlnetlabs.nl
Fri Aug 23 06:45:12 UTC 2019


Hi Andreas,

On 23/08/2019 08:19, A. Schulze via Unbound-users wrote:
>
> Am 22.08.19 um 15:38 schrieb Wouter Wijngaards via Unbound-users:
>> Unbound 1.9.3rc2 maintainers' prerelease is available:
>
>
>> - Fixup contrib/fastrpz.patch
> that patch introduce two new compile time warnings:

The warnings do not appear for me, but I think I fixed them (by checking
the return value). Thanks for reporting the warnings!

Best regards, Wouter

>
> ./libtool --tag=CC --mode=compile gcc -I. -Wdate-time
> -D_FORTIFY_SOURCE=2 -I/usr/include/python3.7m -DSRCDIR=. -g -O2
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -Wformat -Werror=format-security -pthread -I/usr/include/google  -o
> configparser.l
> o -c util/configparser.c
> libtool: compile:  gcc -I. -Wdate-time -D_FORTIFY_SOURCE=2
> -I/usr/include/python3.7m -DSRCDIR=. -g -O2
> "-fdebug-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong
> -Wformat -Werror=format-security -pthread -I/usr/include/google -c
> util/configparser.c  -fPIC -
> DPIC -o .libs/configparser.o
> util/configparser.c: In function 'ub_c_parse':
> ./util/configparser.y:2754:9: warning: ignoring return value of
> 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
>     (void)asprintf(&new_cstr, "%s\nzone %s", old_cstr?old_cstr:"", $2);
>           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ./util/configparser.y:2767:9: warning: ignoring return value of
> 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
>     (void)asprintf(&new_cstr, "%s\n%s", old_cstr ? old_cstr : "", $2);
>           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> otherwise rc2 compile & run fine.
>
> Andreas
>



More information about the Unbound-users mailing list