[libdvdnav-devel] [PATCH] add __DEPRECATED__ modifier which can be used to deprecate API calls where compiler supports it

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Mon Jan 19 10:50:49 CET 2015

On Mon, 19 Jan 2015 02:02:30 +0000, Timothy Gu wrote:

> 1. ifo_read.h does not include config.h, and thus will not ever get
> the definition of HAVE_ATTRIBUTE_DEPRECATED which is defined in
> config.h. 2. You can't include config.h in an installed header and it
> is unwise to install config.h with crazy things like HAVE_LIMITS_H.
> 3. You *CAN* use another config.h that is to be installed that
> includes HAVE_ATTRIBUTE_DEPRECATED. But what if I am compiling my
> program with a version of GCC that is different from the one I used
> to compile the library, and that does not support deprecated
> attribute?

Yes, OK. We cannot use such configure-script techniques in an installed

More information about the libdvdnav-devel mailing list