[vlc-devel] [PATCH] Set GCRYPT_NO_DEPRECATED to suppress libgcrypt deprecation warnings
b at codemonkey.ru
Tue Dec 3 14:12:22 CET 2013
> Suppressing deprecated functions blindly is a bad idea, IMHO. If some
> future version of gcrypt deprecates a function VLC currently uses, this
> ends up breaking the build for no good reasons.
> > have_libgcrypt="yes"
> > GCRYPT_CFLAGS="`libgcrypt-config --cflags`"
> > GCRYPT_LIBS="`libgcrypt-config --libs`"
Gcrypt deprecates functions by some reason, and VLC in that case should use
alternative functions, provided by libgcrypt.
They usually don't break ABI blindly until some time pass and surely they
provide alternative functions for deprecated one.
Currently there is no usage of deprecated libgcrypt functions in VLC core
Note that future release of libgcrypt (1.6.0) will not be ABI compatible
with previous versions because of removal deprecated functions.
IMHO it is better to break during development process and fix usage of
deprecated functions early, then fixing it after real users note that
something gone wrong after updating libgcrypt library.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel