[Pkg-varnish-devel] Bug#853696: varnish-modules: ftbfs with GCC-7

Adrian Bunk bunk at debian.org
Thu Aug 17 10:55:28 UTC 2017


Control: tags -1 fixed-upstream

On Tue, Jan 31, 2017 at 09:36:34AM +0000, Matthias Klose wrote:
> Package: src:varnish-modules
> Version: 0.9.1-4
>...
> vmod_cookie.c: In function 'vmod_parse':
> vmod_cookie.c:120:11: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
>    if (sep != '\0')
>            ^~
> vmod_cookie.c:120:7: note: did you mean to dereference the pointer?
>    if (sep != '\0')
>        ^
> vmod_cookie.c: In function 'vmod_filter_except':
> vmod_cookie.c:265:9: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
>    if (p == '\0')
>          ^~
> vmod_cookie.c:265:7: note: did you mean to dereference the pointer?
>    if (p == '\0')
>        ^
>...

These errors are fixed in upstream git.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Pkg-varnish-devel mailing list