[FFmpeg-trac] #9986(avutil:new): Compilation fails with -Werror=format compiling vaapi on 32bit
FFmpeg
trac at avcodec.org
Sun Oct 23 14:56:29 EEST 2022
#9986: Compilation fails with -Werror=format compiling vaapi on 32bit
------------------------------------+----------------------------------
Reporter: goffioul | Owner: (none)
Type: defect | Status: new
Priority: minor | Component: avutil
Version: git-master | Resolution:
Keywords: vaapie | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+----------------------------------
Comment (by goffioul):
I indicated initially 2 errors: one with Wincompatible-pointer-types in
vaapi, and one with Wformat also in vaapi. This affects both gcc and
clang.
Additionally, gcc also has an error in libavutil/timecode.c with Wformat-
truncation (which is implicit when using Wformat).
[[BR]]
> If this is really the only error - as indicated by you - it is trivial
to fix but as said this surprises me.
[[BR]]
I'm not sure what you exactly mean by this, but if you mean that this is
the only issue when compiling ffmpeg within AOSP, then the answer is no.
There are a few warnings that need to be disabled, and I'm ok with that.
But disabling Wincompatible-pointer-types does not seem a safe option to
me; hence I reported it here.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9986#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list