Actions
Bug #11722
closedusbwcm: 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/usbinput/usbwcm/usbwcm.c:1618: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 (*)())usbwcm_rput, /* put procedure not needed */ ^ 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 bbe1f46d73a73e54a242bb59596e2daf4e619fe3
commit bbe1f46d73a73e54a242bb59596e2daf4e619fe3 Author: Toomas Soome <tsoome@me.com> Date: 2019-09-30T19:53:16.000Z 11722 usbwcm: 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