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

Review Request #861 — Created Feb. 15, 2018 and submitted

tsoome
illumos-gate
9114
086de6e...
general
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'


  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
yuripv
  1. Ship It!
  2. 
      
tsoome
alarcher
  1. Ship It!
  2. 
      
rm
  1. 
      
  2. Maybe this should be the string, "unknown error"? Maybe make str const since we don't modify it?

    1. yep, it is better to have const.

  3. 
      
tsoome
rm
  1. Ship It!
  2. 
      
alarcher
  1. Ship It!
  2. 
      
yuripv
  1. Ship It!
  2. 
      
tsoome
tsoome
Review request changed

Status: Closed (submitted)

Loading...