Actions
Bug #11727
closedusb_ah: 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/usb/clients/audio/usb_ah/usb_ah.c:143:2: error: cast between incompatible function types from 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} to 'int (*)(queue_t *, mblk_t *)' {aka 'int (*)(struct queue *, struct msgb *)'} [-Werror=cast-function-type] (int (*)(queue_t *, mblk_t *))putnext, ^ 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 aef5ddef46ea0369baf07aba4d38ed9b2cd8cd96
commit aef5ddef46ea0369baf07aba4d38ed9b2cd8cd96 Author: Toomas Soome <tsoome@me.com> Date: 2019-09-30T20:14:00.000Z 11727 usb_ah: cast between incompatible function types Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
Actions