Project

General

Profile

Bug #12952

Updated by Toomas Soome about 2 years ago

Build errors on SPARC: 
 <pre> 
     ../../sun/io/ms.c: In function 'msrput': 
     ../../sun/io/ms.c:925:6: error: this statement may fall through [-Werror=implicit-fallthrough=] 
        if (*mp->b_rptr & FLUSHR) 
           ^ 
     ../../sun/io/ms.c:928:2: note: here 
       default: 
       ^~~~~~~ 
     ../../sun/io/ms.c: In function 'mswput': 
     ../../sun/io/ms.c:707:6: error: this statement may fall through [-Werror=implicit-fallthrough=] 
        if (*mp->b_rptr & FLUSHR) 
           ^ 
     ../../sun/io/ms.c:710:2: note: here 
       default: 
       ^~~~~~~ 
     cc1: all warnings being treated as errors 
 </pre> 

 Testing done: build/install/boot

Back