Project

General

Profile

Bug #10303

audioconvert: ISO C++ forbids declaration of 'main' with no type

Added by Toomas Soome 10 months ago. Updated 10 months ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Build error from gcc 8:

    main.cc:65:15: error: ISO C++ forbids declaration of 'main' with no type [-Werror=return-type]
      char  *argv[])
                   ^
    cc1plus: all warnings being treated as errors

History

#1

Updated by Electric Monk 10 months ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit 2325c4ff7eacda26747f8eb679e86fdaf23a7ff8

commit  2325c4ff7eacda26747f8eb679e86fdaf23a7ff8
Author: Toomas Soome <tsoome@me.com>
Date:   2019-02-04T16:10:45.000Z

    10303 audioconvert: ISO C++ forbids declaration of 'main' with no type
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Reviewed by: Andy Fiddaman <af@citrus-it.net>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF