9567 make: error: control reaches end of non-void function

Review Request #1095 - Created May 31, 2018 and submitted

Information
Toomas Soome
illumos-gate
9567
41b5cfe...
Reviewers
general
/code/illumos-gate/usr/src/cmd/make/bin/ar.cc: In function 'Boolean read_archive_dir(Ar*, Name, char**)':
    /code/illumos-gate/usr/src/cmd/make/bin/ar.cc:546:1: error: control reaches end of non-void function [-Werror=return-type]
     }

    /code/illumos-gate/usr/src/cmd/make/bin/doname.cc: In function 'Doname doname_check(Name, Boolean, Boolean, Boolean)':
    /code/illumos-gate/usr/src/cmd/make/bin/doname.cc:181:1: error: control reaches end of non-void function [-Werror=return-type]
     }
     ^
    cc1plus: all warnings being treated as errors

  
Toomas Soome
Yuri Pankov
Yuri Pankov
Gary Mills
Ken Mays
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...