Actions
Bug #12115
closedsnoop: 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:
snoop_slp.c: In function 'interpret_slp_v2': snoop_slp.c:700:30: error: cast between incompatible function types from 'void ( *)(int, void *, int)' to 'int (*)()' [-Werror=cast-function-type] add_transient(src_port, (int (*)())interpret_slp); ^ snoop_slp.c: In function 'interpret_slp_v1': snoop_slp.c:1421:27: error: cast between incompatible function types from 'void (*)(int, void *, int)' to 'int (*)()' [-Werror=cast-function-type] add_transient(src_port, (int (*)())interpret_slp); ^ cc1: all warnings being treated as errors
Testing done: build/install/boot
Updated by Electric Monk almost 4 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit d6913e077df3706d8fe5649c00430704087fc6a2
commit d6913e077df3706d8fe5649c00430704087fc6a2 Author: Toomas Soome <tsoome@me.com> Date: 2019-12-27T14:27:13.000Z 12115 snoop: cast between incompatible function types Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
Actions