Actions
Bug #11987
closedlibevent: 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:
../libsysevent.c: In function 'sysevent_bind_subscriber_cmn': ../libsysevent.c:2223:7: error: cast between incompatible function types from 'void (*)(void **)' to 'void * (*)(void *)' [-Werror=cast-function-type] (void *(*)(void *))subscriber_event_handler, ^ ../libsysevent.c:2242:7: error: cast between incompatible function types from 'void (*)(void **)' to 'void * (*)(void *)' [-Werror=cast-function-type] (void *(*)(void *))subscriber_event_handler, ^ cc1: all warnings being treated as errors
Testing done: build/install/boot
Updated by Electric Monk over 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 55622ceb9a02ebd6f006f047a2447f46c605bb4a
commit 55622ceb9a02ebd6f006f047a2447f46c605bb4a Author: Toomas Soome <tsoome@me.com> Date: 2019-12-16T16:36:25.000Z 11987 libevent: cast between incompatible function types Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
Actions