[FFmpeg-devel] vf_coreimage.m build failure on ppc osx 10.5

Pavel Koshevoy pkoshevoy at gmail.com
Tue Mar 29 07:31:04 CEST 2016


I tried to get a fresh build of ffmpeg today and ran into this issue:

OBJCC libavfilter/vf_coreimage.o
src/libavfilter/vf_coreimage.m: In function ‘config_output’:
src/libavfilter/vf_coreimage.m:75: warning: ISO C90 forbids mixed
declarations and code
src/libavfilter/vf_coreimage.m: In function ‘list_filters’:
src/libavfilter/vf_coreimage.m:103: warning: ISO C90 forbids mixed
declarations and code
src/libavfilter/vf_coreimage.m:109: warning: ISO C90 forbids mixed
declarations and code
src/libavfilter/vf_coreimage.m: In function ‘apply_filter’:
src/libavfilter/vf_coreimage.m:195: error: ‘__bridge’ undeclared (first use
in this function)
src/libavfilter/vf_coreimage.m:195: error: (Each undeclared identifier is
reported only once
src/libavfilter/vf_coreimage.m:195: error: for each function it appears in.)
src/libavfilter/vf_coreimage.m:195: error: expected ‘)’ before ‘CIImage’
src/libavfilter/vf_coreimage.m:195: error: expected ‘]’ before ‘->’ token
src/libavfilter/vf_coreimage.m:205: warning: ISO C90 forbids mixed
declarations and code
src/libavfilter/vf_coreimage.m:206: error: expected ‘)’ before ‘CIImage’
src/libavfilter/vf_coreimage.m:206: error: expected ‘,’ or ‘;’ before ‘ctx’
src/libavfilter/vf_coreimage.m:213: error: expected ‘)’ before ‘CIImage’
src/libavfilter/vf_coreimage.m:213: error: expected ‘]’ before ‘->’ token
src/libavfilter/vf_coreimage.m:214: warning: ISO C90 forbids mixed
declarations and code
src/libavfilter/vf_coreimage.m:225: error: expected ‘)’ before ‘CIFilter’
src/libavfilter/vf_coreimage.m:225: error: expected ‘;’ before ‘ctx’
src/libavfilter/vf_coreimage.m:251: warning: ISO C90 forbids mixed
declarations and code
src/libavfilter/vf_coreimage.m:260: error: expected ‘)’ before ‘CIContext’
src/libavfilter/vf_coreimage.m:260: error: expected ‘]’ before ‘->’ token
src/libavfilter/vf_coreimage.m:260: warning: ISO C90 forbids mixed
declarations and code
src/libavfilter/vf_coreimage.m:272: warning: ISO C90 forbids mixed
declarations and code
src/libavfilter/vf_coreimage.m:292: warning: ISO C90 forbids mixed
declarations and code
src/libavfilter/vf_coreimage.m:191: warning: unused variable ‘data’
src/libavfilter/vf_coreimage.m:186: warning: unused variable ‘frame_size’
src/libavfilter/vf_coreimage.m: In function ‘init’:
src/libavfilter/vf_coreimage.m:526: warning: implicit declaration of
function ‘CFBridgingRetain’
src/libavfilter/vf_coreimage.m:526: warning: assignment makes pointer from
integer without a cast
src/libavfilter/vf_coreimage.m:540: warning: ISO C90 forbids mixed
declarations and code
src/libavfilter/vf_coreimage.m:549: warning: implicit declaration of
function ‘CGLGetCurrentContext’
src/libavfilter/vf_coreimage.m:552: warning: ‘CIContext’ may not respond to
‘+contextWithCGLContext:pixelFormat:colorSpace:options:’
src/libavfilter/vf_coreimage.m:552: warning: (Messages without a matching
method signature
src/libavfilter/vf_coreimage.m:552: warning: will be assumed to return ‘id’
and accept
src/libavfilter/vf_coreimage.m:552: warning: ‘...’ as arguments.)
src/libavfilter/vf_coreimage.m:552: warning: assignment makes pointer from
integer without a cast
src/libavfilter/vf_coreimage.m:560: warning: assignment makes pointer from
integer without a cast
make: *** [libavfilter/vf_coreimage.o] Error 1
[pavel at apple ffmpeg-git-build ]


Sorry, I didn't have time to investigate yet, so I have no patch to
offer... this is mostly to let others know about the problem.

    Pavel


More information about the ffmpeg-devel mailing list