Actions
Bug #11598
closedpfmod: cast between incompatible function types
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Build errors with gcc 8:
../../common/io/pfmod.c:107: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] (int (*)())pfrput, /* qi_putp */ ^ ../../common/io/pfmod.c:117: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] (int (*)())pfwput, /* qi_putp */ ^ cc1: all warnings being treated as errors
Updated by Electric Monk almost 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit d9c462b2dd4afc98da9074ea6ace57ecd8035001
commit d9c462b2dd4afc98da9074ea6ace57ecd8035001 Author: Toomas Soome <tsoome@me.com> Date: 2019-09-03T19:46:18.000Z 11598 pfmod: cast between incompatible function types Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Actions