HomeFreeBSD

Mark BROKEN

Description

Mark BROKEN

vmod_dynamic.c:629:2: error: implicit declaration of function 'VRT_rel_vcl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

VRT_rel_vcl(&ctx, &obj->vclref);
^

vmod_dynamic.c:645:16: error: implicit declaration of function 'VRT_ref_vcl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

obj->vclref = VRT_ref_vcl(&ctx, "vmod dynamic");
              ^

vmod_dynamic.c:645:14: error: incompatible integer to pointer conversion assigning to 'struct vclref *' from 'int' [-Werror,-Wint-conversion]

obj->vclref = VRT_ref_vcl(&ctx, "vmod dynamic");
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vmod_dynamic.c:873:2: error: incomplete definition of type 'struct vrt_acl'

CHECK_OBJ_ORNULL(whitelist, VRT_ACL_MAGIC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/usr/local/include/varnish/miniobj.h:51:16: note: expanded from macro 'CHECK_OBJ_ORNULL'

assert((ptr)->magic == type_magic);             \
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~

/usr/local/include/varnish/vas.h:61:8: note: expanded from macro 'assert'

if (!(e)) {                                                     \
      ^

/usr/local/include/varnish/vrt.h:167:8: note: forward declaration of 'struct vrt_acl'
struct vrt_acl;

^

vmod_dynamic.c:873:30: error: use of undeclared identifier 'VRT_ACL_MAGIC'

CHECK_OBJ_ORNULL(whitelist, VRT_ACL_MAGIC);
                            ^

Reported by: pkg-fallout

Details

Provenance
antoineAuthored on
Parents
rP512555: MFH: r512554
Branches
Unknown
Tags
Unknown