Merge pull request #732 from dirkvdb/master

Also ignore the virtual destructor warning when compiling with clang
This commit is contained in:
Stephen F. Booth 2016-04-02 13:21:39 -04:00
commit 31f3109b47

View File

@ -32,7 +32,7 @@
#define TAGLIB_MINOR_VERSION 11
#define TAGLIB_PATCH_VERSION 0
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 1))
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 1)) || defined(__clang__)
#define TAGLIB_IGNORE_MISSING_DESTRUCTOR _Pragma("GCC diagnostic ignored \"-Wnon-virtual-dtor\"")
#else
#define TAGLIB_IGNORE_MISSING_DESTRUCTOR