[FFmpeg-devel] compile error for few days

Masaru Nomiya nomiya at galaxy.dti.ne.jp
Sun Jul 1 07:52:05 CEST 2012


Hello,

I always get the very latest git of ffmpeg.
But I can't compile it with the error messase;

[...]
cc1plus: warning: command line option '-std=c99' is valid for C/ObjC but not for C++ [enabled by default]
libavcodec/libutvideodec.cpp:56:18: warning: multi-character character constant [-Wmultichar]
libavcodec/libutvideodec.cpp:60:18: warning: multi-character character constant [-Wmultichar]
In file included from ./libavutil/libm.h:30:0,
                 from ./libavutil/internal.h:182,
                 from ./libavutil/common.h:355,
                 from ./libavutil/avutil.h:305,
                 from ./libavutil/samplefmt.h:22,
                 from libavcodec/avcodec.h:30,
                 from libavcodec/libutvideodec.cpp:28:
./libavutil/intfloat.h: In function 'float av_int2float(uint32_t)':
./libavutil/intfloat.h:42:31: error: expected primary-expression before '.' token
./libavutil/intfloat.h: In function 'uint32_t av_float2int(float)':
./libavutil/intfloat.h:51:31: error: expected primary-expression before '.' token
./libavutil/intfloat.h: In function 'double av_int2double(uint64_t)':
./libavutil/intfloat.h:60:31: error: expected primary-expression before '.' token
./libavutil/intfloat.h: In function 'uint64_t av_double2int(double)':
./libavutil/intfloat.h:69:31: error: expected primary-expression before '.' token
make: *** [libavcodec/libutvideodec.o] error 1


Any hints?

Thanks in advance.

---
┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ "Bill! You married with Computers.
          Not with Me!"
         "No..., with money."


More information about the ffmpeg-devel mailing list