Actions
Bug #11789
closedgld: cast between incompatible function types
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
Description
Build errors with gcc 8:
../../common/io/gld.c:2904:10: error: cast between incompatible function types from 'int (*)(queue_t *, mblk_t *)' {aka 'int (*)(struct queue *, struct msgb *)'} to 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} [-Werror=cast-function-type] send = (void (*)(queue_t *, mblk_t *))putq; ^ cc1: all warnings being treated as errors
Updated by Electric Monk almost 4 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit eb09fcf8417871597746d29fbfa39665d2623d5a
commit eb09fcf8417871597746d29fbfa39665d2623d5a Author: Toomas Soome <tsoome@me.com> Date: 2019-10-11T17:55:54.000Z 11789 gld: cast between incompatible function types Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Garrett D'Amore <gdamore@damore.org> Approved by: Dan McDonald <danmcd@joyent.com>
Actions