Project

General

Profile

Bug #12110

Updated by Toomas Soome almost 2 years ago

Build errors with gcc 8: 
 <pre> 
     In file included from ../include/Audio.h:30, 
                      from ../include/AudioStream.h:32, 
                      from ../include/AudioUnixfile.h:32, 
                      from ../include/AudioFile.h:40, 
                      from AudioFile.cc:40: 
     ../include/AudioTypes.h: In member function 'FileAccess::operator int()': 
     ../include/AudioTypes.h:118:2: error: control reaches end of non-void function [-Werror=return-type] 
       } 
       ^ 
     In file included from AudioFile.cc:40: 
     ../include/AudioFile.h: In member function 'VMAccess::operator int()': 
     ../include/AudioFile.h:62:2: error: control reaches end of non-void function [-Werror=return-type] 
       } 
       ^ 
    
     In file included from AudioFile.cc:40: 
     ../include/AudioFile.h: In member function 'VMAccess::operator int()': 
     ../include/AudioFile.h:62:2: error: control reaches end of non-void function [-Werror=return-type] 
       } 
       ^ 
    
     cc1plus: all warnings being treated as errors 
 </pre> 

 Testing done: build/install/boot

Back