mirror of
				https://github.com/taglib/taglib.git
				synced 2025-11-04 00:36:54 -05: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:
		@ -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.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user