[FFmpeg-devel] [PATCH v2] lavd/decklink_common: Fix error caused by -Werror=missing-prototypes

Michael Niedermayer michael at niedermayer.cc
Sat Jun 25 21:16:32 CEST 2016


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

also see:

http://stackoverflow.com/questions/1867065/how-to-suppress-gcc-warnings-from-library-headers
http://stackoverflow.com/questions/3308523/how-to-eliminate-external-lib-third-party-warnings-in-gcc


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160625/bac27ded/attachment.sig>


More information about the ffmpeg-devel mailing list