Project

General

Profile

Bug #12101

Updated by Toomas Soome almost 2 years ago

Build errors with gcc 8: 
 <pre> 
     ../common/ns_connmgmt.c: In function 'setup_mt_conn': 
     ../common/ns_connmgmt.c:355:29: error: cast between incompatible function types 
     from 'thread_t (*)(void)' {aka 'unsigned int (*)(void)'} to 'void * (*)(void)' [ 
     -Werror=cast-function-type] 
       extrafns.ltf_threadid_fn = (void * (*)(void))thr_self; 
                                  ^ 
     cc1: all warnings being treated as errors 
 </pre> 

 Testing done:    build/install/boot

Back