Project

General

Profile

Actions

Bug #12110

closed

audio: control reaches end of non-void function

Added by Toomas Soome almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors with gcc 8:

    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

Testing done: build/install/boot

Actions

Also available in: Atom PDF