[MPlayer-dev-eng] [PATCH] compilation errors in gui/win32/widgetrender.c

Stephen Sheldon sfsheldo at gmail.com
Sun Mar 30 00:41:42 CET 2014


A couple of compilation errors have crept info gui/win32/widgetrender.c.

gui/win32/widgetrender.c: At top level:
gui/win32/widgetrender.c:37:10: warning: missing terminating " character 
[enabled by default]
  #include "stream/stream.h
           ^
gui/win32/widgetrender.c:37:10: error: #include expects "FILENAME" or 
<FILENAME>
gui/win32/widgetrender.c:135:7: warning: no previous prototype for 
'TranslateFilename' [-Wmissing-prototypes]
  char *TranslateFilename (int how, char *fname, size_t maxlen)
        ^
gui/win32/widgetrender.c: In function 'generatetextfromlabel':
gui/win32/widgetrender.c:261:95: warning: pointer/integer type mismatch 
in conditional expression [enabled by default]
      else if(guiInfo.AudioChannels == 2) stringreplace(text, "$a", 
(guiInfo.AudioPassthrough ? : "r": "t"));
^
gui/win32/widgetrender.c:261:100: error: expected ')' before ':' token
      else if(guiInfo.AudioChannels == 2) stringreplace(text, "$a", 
(guiInfo.AudioPassthrough ? : "r": "t"));
^
Makefile:758: recipe for target 'gui/win32/widgetrender.o' failed
ma

A patch is attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wr.patch
Type: text/x-diff
Size: 754 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20140329/95c707ba/attachment.bin>


More information about the MPlayer-dev-eng mailing list