[FFmpeg-trac] #7209(undetermined:new): Build error with clang5 on Mac
FFmpeg
trac at avcodec.org
Tue May 15 07:16:36 EEST 2018
#7209: Build error with clang5 on Mac
-------------------------------------+-------------------------------------
Reporter: ponpon | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
A build error appears since commit
293a6e83325a7379c13469193492fa4cb2488785
{{{
CC libavformat/mp3enc.o
CC libavformat/mpc.o
CC libavformat/mpc8.o
CC libavformat/mpeg.o
CC libavformat/mpegenc.o
CC libavformat/mpegts.o
CC libavformat/mpegtsenc.o
CC libavformat/mpegvideodec.o
CC libavformat/mpjpeg.o
CC libavformat/mpjpegdec.o
CC libavformat/mpl2dec.o
CC libavformat/mpsubdec.o
CC libavformat/msf.o
CC libavformat/msnwc_tcp.o
CC libavformat/mtaf.o
CC libavformat/mtv.o
CC libavformat/musx.o
CC libavformat/mux.o
CC libavformat/mvdec.o
CC libavformat/mvi.o
CC libavformat/mxf.o
CC libavformat/mxfdec.o
CC libavformat/mxfenc.o
CC libavformat/mxg.o
CC libavformat/ncdec.o
libavformat/mxfenc.c:1145:36: error: too many arguments provided to
function-like macro invocation
memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x...
^
/usr/include/secure/_string.h:64:9: note: macro 'memcpy' defined here
#define memcpy(dest, src, len) \
^
libavformat/mxfenc.c:1145:9: note: parentheses are required around macro
argument containing braced
initializer list
...memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x01,0x00,0x00},...
^
(
)
libavformat/mxfenc.c:1149:36: error: too many arguments provided to
function-like macro invocation
memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x...
^
/usr/include/secure/_string.h:64:9: note: macro 'memcpy' defined here
#define memcpy(dest, src, len) \
^
libavformat/mxfenc.c:1149:9: note: parentheses are required around macro
argument containing braced
initializer list
...memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x02,0x00,0x00},...
^
(
)
libavformat/mxfenc.c:1152:36: error: too many arguments provided to
function-like macro invocation
memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x...
^
/usr/include/secure/_string.h:64:9: note: macro 'memcpy' defined here
#define memcpy(dest, src, len) \
^
libavformat/mxfenc.c:1152:9: note: parentheses are required around macro
argument containing braced
initializer list
...memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x03,0x00,0x00},...
^
(
)
libavformat/mxfenc.c:1155:36: error: too many arguments provided to
function-like macro invocation
memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x06,0x04,0x01,0x01,0x01,0x01,0x...
^
/usr/include/secure/_string.h:64:9: note: macro 'memcpy' defined here
#define memcpy(dest, src, len) \
^
libavformat/mxfenc.c:1155:9: note: parentheses are required around macro
argument containing braced
initializer list
...memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x06,0x04,0x01,0x01,0x01,0x01,0x05,0x00,0x00},...
^
(
)
libavformat/mxfenc.c:1158:36: error: too many arguments provided to
function-like macro invocation
memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x06,0x04,0x01,0x01,0x01,0x01,0x...
^
/usr/include/secure/_string.h:64:9: note: macro 'memcpy' defined here
#define memcpy(dest, src, len) \
^
libavformat/mxfenc.c:1158:9: note: parentheses are required around macro
argument containing braced
initializer list
...memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x06,0x04,0x01,0x01,0x01,0x01,0x06,0x00,0x00},...
^
(
)
libavformat/mxfenc.c:1161:36: error: too many arguments provided to
function-like macro invocation
memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x08,0x04,0x01,0x01,0x01,0x01,0x...
^
/usr/include/secure/_string.h:64:9: note: macro 'memcpy' defined here
#define memcpy(dest, src, len) \
^
libavformat/mxfenc.c:1161:9: note: parentheses are required around macro
argument containing braced
initializer list
...memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x08,0x04,0x01,0x01,0x01,0x01,0x07,0x00,0x00},...
^
(
)
6 errors generated.
make: *** [libavformat/mxfenc.o] Error 1
make: *** Waiting for unfinished jobs....
1 warning generated.
1 warning generated.
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7209>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list