Project

General

Profile

Bug #9114

cmd/audio: invalid conversion from 'char' to 'char*'

Added by Toomas Soome over 1 year ago. Updated over 1 year ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Build error from gcc 7:

    In file included from AudioLib.cc:29:0:
    ../include/Audio.h:89:18: error: invalid conversion from 'char' to 'char*' [-fpermissive]
          char *msg = '\0') const;  // error message
                      ^~~~
    *** Error code 1
    dmake: Warning: Command failed for target `AudioLib.o'

Note this is just one example, since the error is on header, many files are affected.

History

#1

Updated by Electric Monk over 1 year ago

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

git commit 779d959983c330a45b9542e16ae6a4a5d204309a

commit  779d959983c330a45b9542e16ae6a4a5d204309a
Author: Toomas Soome <tsoome@me.com>
Date:   2018-02-16T16:18:59.000Z

    9114 cmd/audio: invalid conversion from 'char' to 'char*'
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Aurélien Larcher <aurelien.larcher@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF