mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Added GCC pragma to suppress non-virtual dtor warning which is being preserved
to maintain BIC. git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@942876 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
parent
36a398a156
commit
56e8766126
@ -91,6 +91,12 @@ namespace TagLib {
|
||||
|
||||
class TAGLIB_EXPORT FileTypeResolver
|
||||
{
|
||||
#ifdef __GNUC__
|
||||
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 1)
|
||||
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
public:
|
||||
// do not fix compiler warning about missing virtual destructor
|
||||
// since this would not be binary compatible
|
||||
|
@ -59,6 +59,12 @@ namespace TagLib {
|
||||
|
||||
class TAGLIB_EXPORT StringHandler
|
||||
{
|
||||
#ifdef __GNUC__
|
||||
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 1)
|
||||
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
public:
|
||||
// BIC: Add virtual destructor.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user