> On Jun 25, 2016, at 3:16 PM, Michael Niedermayer <mich...@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 something? > > 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 > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel