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

2016-06-23 Thread Richard Kern
> On Jun 23, 2016, at 8:06 PM, Carl Eugen Hoyos wrote: > > Rick Kern gmail.com> writes: > >> This temporarily disables the missing-prototypes error so >> the file can be included. > > Can't you add -Wno-error=missing-prototypes to the cxx flags > just as you did in 1/2?

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

2016-06-23 Thread Carl Eugen Hoyos
Rick Kern gmail.com> writes: > This temporarily disables the missing-prototypes error so > the file can be included. Can't you add -Wno-error=missing-prototypes to the cxx flags just as you did in 1/2? Thank you for working on this, I like 1/2, Carl Eugen

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

2016-06-23 Thread Rick Kern
decklink_common.cpp includes a .cpp file from the DeckLink API which fails to build because there are non-static functions in the included .cpp file. This temporarily disables the missing-prototypes error so the file can be included. Signed-off-by: Rick Kern ---