Actions
Bug #10418
closedchxge: cast between incompatible function types
Start date:
2019-02-19
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Build error with gcc 8:
../../common/io/chxge/com/my3126.c: In function 'my3126_phy_create': ../../common/io/chxge/com/my3126.c:209:5: error: cast between incompatible function types from 'int (*)(struct cphy *)' to 'void (*)(void *)' [-Werror=cast-function-type] (void (*)(void *))my3126_interrupt_handler, ^ cc1: all warnings being treated as errors
Updated by Electric Monk over 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 4fa33403ece8f42c56cba2b672d10f6ab4dc32cd
commit 4fa33403ece8f42c56cba2b672d10f6ab4dc32cd Author: Toomas Soome <tsoome@me.com> Date: 2019-02-20T20:39:14.000Z 10418 chxge: cast between incompatible function types Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Gergő Doma <domag02@gmail.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Robert Mustacchi <rm@joyent.com>
Actions