[libdvdnav-devel] [RFC PATCH] src/dvd_input.c: Rework css/non css function calling

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Sat Oct 25 01:08:56 CEST 2014


On Fri, 24 Oct 2014 17:18:17 +0100, Andrew Clayton wrote:

> One way to fix this would be to use __attribute__((unused)) in the
> variables being passed in, however I believe this is a GCC extension
> and this would maybe break other platforms.

It would be easy enough to add an autoconf directive that checks
whether “__attribute__((unused))” is accepted by the compiler, and
#define UNUSED to be this if so, or empty if not.


More information about the libdvdnav-devel mailing list