Project

General

Profile

Bug #11982

Updated by Toomas Soome over 2 years ago

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

 Testing done: build/install/boot.

Back