[FFmpeg-devel] [PATCH v2] lavd/decklink_common: Fix error caused by -Werror=missing-prototypes
kernrj at gmail.com
Mon Jun 27 03:00:58 CEST 2016
> On Jun 25, 2016, at 3:16 PM, Michael Niedermayer <michael at niedermayer.cc> wrote:
> On Sat, Jun 25, 2016 at 05:29:56PM +0000, Carl Eugen Hoyos wrote:
>> Michael Niedermayer <michael <at> niedermayer.cc> writes:
>>> why does this happen ?
>> I thought it happens because FFmpeg include third-party
>> files that do not copmile with error=missing-prototypes.
> but why should they build with random "warning are error" flags ?
> one cannot write headers that are guranteed to never trigger a warning
> on any compiler.
> and if one cannot and does not, -Werror* could not work unless it
> has an exception for system / 3rd party stuff
The error is being thrown when the location of the decklink headers being
pulled in as user includes with -I. Clang doesn’t support -i, and I couldn’t
find an equivalent option to include as system headers. Am I missing
> also see:
> Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> Republics decline into democracies and democracies degenerate into
> despotisms. -- Aristotle
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
More information about the ffmpeg-devel