[FFmpeg-trac] #999(avdevice:new): error: 'wcscpy_instead_use_StringCbCopyW_or_StringCchCopyW' undeclared (first use in this function)

FFmpeg trac at avcodec.org
Thu Feb 16 02:54:35 CET 2012


#999: error: 'wcscpy_instead_use_StringCbCopyW_or_StringCchCopyW' undeclared
(first use in this function)
-----------------------------------+------------------------------------
             Reporter:  KSHawkEye  |                     Type:  defect
               Status:  new        |                 Priority:  critical
            Component:  avdevice   |                  Version:  0.10
             Keywords:             |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+------------------------------------
 When trying to compile FFmpeg 0.10 with MinGW-w64 I get this error:

 {{{
 i686-w64-mingw32-gcc -I. -I/home/kyle/software/ffmpeg/source/ffmpeg-0.10/
 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
 -U__STRICT_ANSI__ -DHAVE_AV_CONFIG_H -std=c99 -fno-common -fomit-frame-
 pointer -g -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-
 switch -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith
 -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-
 limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-
 prototypes -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize
 -Werror=implicit-function-declaration -Werror=missing-prototypes  -MMD -MF
 libavdevice/dshow_filter.d -MT libavdevice/dshow_filter.o -c -o
 libavdevice/dshow_filter.o
 /home/kyle/software/ffmpeg/source/ffmpeg-0.10/libavdevice/dshow_filter.c
 /home/kyle/software/ffmpeg/source/ffmpeg-0.10/libavdevice/dshow_filter.c:
 In function 'libAVFilter_JoinFilterGraph':
 /home/kyle/software/ffmpeg/source/ffmpeg-0.10/libavdevice/dshow_filter.c:149:9:
 error: 'wcscpy_instead_use_StringCbCopyW_or_StringCchCopyW' undeclared
 (first use in this function)
 /home/kyle/software/ffmpeg/source/ffmpeg-0.10/libavdevice/dshow_filter.c:149:9:
 note: each undeclared identifier is reported only once for each function
 it appears in
 /home/kyle/software/ffmpeg/source/ffmpeg-0.10/libavdevice/dshow_filter.c:149:34:
 warning: left-hand operand of comma expression has no effect [-Wunused-
 value]
 /home/kyle/software/ffmpeg/source/ffmpeg-0.10/libavdevice/dshow_filter.c:149:15:
 warning: statement with no effect [-Wunused-value]
 make: *** [libavdevice/dshow_filter.o] Error 1
 }}}

 Any ideas?

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


More information about the FFmpeg-trac mailing list