Project

General

Profile

Bug #11804

Updated by Toomas Soome over 2 years ago

Build errors with gcc 8: 
 <pre> 
     ../../i86xpv/io/psm/xpv_psm.c:297:25: error: cast between incompatible function types from 'void (*)(char *, struct regs *)' to 'uint_t (*)(char *, char *)' {aka 'unsigned int (*)(char *, char *)'} [-Werror=cast-function-type] 
       if (!psm_add_nmintr(0, (avfunc) xen_psm_nmi_intr, 
                              ^ 
     cc1: all warnings being treated as errors 
 </pre> 

 Testing done: build/install/boot. no xen setup however.

Back