[FFmpeg-devel] [PATCH v2] lavd/decklink_common: Fix error caused by -Werror=missing-prototypes
Michael Niedermayer
michael at niedermayer.cc
Sat Jun 25 10:48:52 CEST 2016
On Fri, Jun 24, 2016 at 10:03:17PM -0400, Rick Kern wrote:
> 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 disables the missing-prototypes error so the file can be included.
why does this happen ?
the compiler (gcc at least) should not produce warnings or related
errors for system headers, why does this not apply to this cpp file ?
is it installed correctly and the compiler correctly setup so it knows
the directory its in is for such headers ?
Also you can add flags specific to building one file
grep for CFLAGS in Makefiles to see examples
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- 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/22846fa4/attachment.sig>
More information about the ffmpeg-devel
mailing list