[FFmpeg-trac] #2049(build system:open): msvc: --extra-cflags="-MD" leads to unresolved externals

FFmpeg trac at avcodec.org
Tue Dec 25 07:45:12 CET 2012


#2049: msvc: --extra-cflags="-MD" leads to unresolved externals
-------------------------------------+-------------------------------------
             Reporter:  Piroxiljin   |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  build
              Version:  git-master   |  system
             Keywords:  msvc         |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by Piroxiljin):

 {{{
 $ make
 echo @printf "CC\t%s\n" libavfilter/af_amix.o; c99wrap cl -I. -I./
 -D_ISOC99_SOU
 RCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod
 -Dsnprintf
 =avpriv_snprintf -Dvsnprintf=avpriv_vsnprintf -DHAVE_AV_CONFIG_H -nologo
 -D_USE_
 MATH_DEFINES -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64 -Z7 -MD
 -Oy -Z7
 -W4 -wd4244 -wd4127 -wd4018 -wd4389 -wd4146 -wd4057 -wd4204 -wd4706
 -wd4305 -wd4
 152 -wd4324 -we4013 -wd4100 -wd4214 -wd4554 -wd4996 -wd4273 -O2     -c -Fo
 libav
 filter/af_amix.o libavfilter/af_amix.c
 @printf CC\t%s\n libavfilter/af_amix.o
 af_amix.c
 d:\user\Alex\projects\ffmpeg\msvc-10-debug\3\ffmpeg-HEAD-
 1166fc0\config.h(9) : w
 arning C4005: 'av_restrict' : macro redefinition
         d:\user\alex\projects\ffmpeg\msvc-10-debug\3\ffmpeg-head-
 1166fc0\libavut
 il\attributes.h(66) : see previous definition of 'av_restrict'
 af_amix.o_converted.c
 libavfilter/af_amix.c(502) : error C4013: 'avpriv_snprintf' undefined;
 assuming
 extern returning int
 libavfilter/af_amix.c(531) : warning C4090: 'function' : different 'const'
 quali
 fiers
 make: *** [libavfilter/af_amix.o] Error 1
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2049#comment:10>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list