Actions
Bug #11982
closedlibmail: 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/notifyu.c: In function 'notify': ../common/notifyu.c:80:34: error: cast between incompatible function types from 'void (* (*)(void))(int)' to 'void (*)(int)' [-Werror=cast-function-type] old = (SIG_PF)signal(SIGALRM, (SIG_PF)catcher); ^ cc1: all warnings being treated as errors
Testing done: build/install/boot.
Updated by Electric Monk over 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 7e536b59b5c21c385f301967cb3b7e31d307d131
commit 7e536b59b5c21c385f301967cb3b7e31d307d131 Author: Toomas Soome <tsoome@me.com> Date: 2020-01-09T08:28:51.000Z 11982 libmail: cast between incompatible function types Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
Actions