Project

General

Profile

Bug #11987

Updated by Toomas Soome over 2 years ago

Build errors with gcc 8: 
 <pre> 
     ../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 
 </pre> 

 Testing done: build/install/boot

Back