Project

General

Profile

Bug #12949

Updated by Toomas Soome almost 2 years ago

Build errors on SPARC: 
 <pre> 
     In file included from ../../sun4v/io/drctl_impl.c:34:0: 
     ../../sun4v/io/drctl_impl.c: In function 'i_drctl_send': 
     ../../sun4v/sys/dr_util.h:70:40: error: this statement may fall through [-Werror=implicit-fallthrough=] 
      #define DR_DBG_ALL _NOTE(CONSTCOND) if (0) printf 
                                             ^ 
     ../../sun4v/sys/dr_util.h:71:20: note: in expansion of macro 'DR_DBG_ALL' 
      #define DR_DBG_CTL DR_DBG_ALL 
                         ^~~~~~~~~~ 
     ../../sun4v/io/drctl_impl.c:126:4: note: in expansion of macro 'DR_DBG_CTL' 
         DR_DBG_CTL("%s: door call returned EINTR\n", me); 
         ^~~~~~~~~~ 
     ../../sun4v/io/drctl_impl.c:128:3: note: here 
        case EAGAIN: 
        ^~~~ 
     cc1: all warnings being treated as errors 
 </pre> 

 Testing done: build/install/boot

Back