Actions
Bug #10484
closedipsecah: cast between incompatible function types
Start date:
2019-03-02
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Build error with gcc 8:
../../common/inet/ip/ipsecah.c:154:2: error: cast between incompatible function types from 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} to 'int (*)()' [-Werror=cast-function-type] (pfi_t)putnext, NULL, ipsecah_open, ipsecah_close, NULL, &info, ^ ../../common/inet/ip/ipsecah.c:159:2: error: cast between incompatible function types from 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} to 'int (*)()' [-Werror=cast-function-type] (pfi_t)ipsecah_wput, NULL, ipsecah_open, ipsecah_close, NULL, &info, ^ cc1: all warnings being treated as errors
Actions