[FFmpeg-trac] #4130(avdevice:new): error: 'char* dup_wchar_to_utf8(wchar_t*)' was declared 'extern' and later 'static'

FFmpeg trac at avcodec.org
Sat Nov 22 06:08:08 CET 2014


#4130: error: 'char* dup_wchar_to_utf8(wchar_t*)' was declared 'extern' and later
'static'
--------------------------------------+----------------------------------
               Reporter:  KSHawkEye   |                  Owner:
                   Type:  defect      |                 Status:  new
               Priority:  important   |              Component:  avdevice
                Version:  git-master  |               Keywords:  decklink
             Blocked By:              |               Blocking:
Reproduced by developer:  0           |  Analyzed by developer:  0
--------------------------------------+----------------------------------
 Cross-compiling FFmpeg on Debian for Windows with MinGW-w64 fails if
 --enable-decklink is included. The DeckLink SDK Version used was 10.3.1.

 The error message:
 {{{
 /home/kyle/software/ffmpeg/source/ffmpeg-
 git/libavdevice/decklink_common.cpp: In function 'char*
 dup_wchar_to_utf8(wchar_t*)':
 /home/kyle/software/ffmpeg/source/ffmpeg-
 git/libavdevice/decklink_common.cpp:61:42: error: 'char*
 dup_wchar_to_utf8(wchar_t*)' was declared 'extern' and later 'static'
 [-fpermissive]
  static char *dup_wchar_to_utf8(wchar_t *w)
                                           ^
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4130>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list