Actions
Bug #11805
closedgeneric_cpu: 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:
../../i86xpv/cpu/generic_cpu/gcpu_poll_xpv.c:197:7: error: cast between incompatible function types from 'uint_t (*)(void)' {aka 'unsigned int (*)(void)'} to 'uint_t (*)(char *, char *)' {aka 'unsigned int (*)(char *, char *)'} [-Werror=cast-function-type] (avfunc)gcpu_xpv_virq_intr, "MCA", gcpu_xpv_virq_vect, ^ 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 5328fc53d11d7151861fa272e4fb0248b8f0e145
commit 5328fc53d11d7151861fa272e4fb0248b8f0e145 Author: Toomas Soome <tsoome@me.com> Date: 2019-11-14T08:19:46.000Z 11805 generic_cpu: cast between incompatible function types Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Dan McDonald <danmcd@joyent.com>
Actions