[libdvdnav-devel] [PATCH 03/33] Deprecate ifoFree_VOBU_ADMAP()

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Thu Jan 15 23:31:10 CET 2015


On Thu, 15 Jan 2015 22:16:39 +0000, Timothy Gu wrote:

> #if __GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ >= 1
> # define attribute_deprecated __attribute__((deprecated))
> #else
> # define attribute_deprecated
> #endif
> attribute_deprecated void ifoFree_VOBU_ADMAP(ifo_handle_t *);

Just a note, I see Clang supports the same extension
<http://clang.llvm.org/docs/LanguageExtensions.html#id6>.

Rather than looking specifically for GNUC, perhaps this should be a
compatibility check in configure.ac?


More information about the libdvdnav-devel mailing list