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

FFmpeg trac at avcodec.org
Mon Dec 24 15:33:22 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 reimar):

 Since we do not use _snprintf I don't understand why that define is there.
 Could you try with this configure patch, if that makes all cases work:
 --- a/configure
 +++ b/configure
 @@ -3372,7 +3372,6 @@ elif check_func_headers stdlib.h _get_doserrno; then
      add_compat strtod.o strtod=avpriv_strtod
      add_compat msvcrt/snprintf.o snprintf=avpriv_snprintf   \
 -                                 _snprintf=avpriv_snprintf  \
  elif check_cpp_condition stddef.h "defined __KLIBC__"; then

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

More information about the FFmpeg-trac mailing list