Ticket #1992: patch-warning-dtors-v2.patch

File patch-warning-dtors-v2.patch, 551 bytes (added by danielk, 13 years ago)

Less drastic fix, disable these bogus warnings. (those are interfaces, they don't need virtual dtors)

  • libs/libmythtv/libmythtv.pro

     
    5353QMAKE_CXXFLAGS_DEBUG += $${FREETYPE_CFLAGS}
    5454QMAKE_LFLAGS_SHLIB += $${FREETYPE_LIBS}
    5555
     56# disable pedandic gcc warnings (#1992)
     57QMAKE_CXXFLAGS_RELEASE *= -Wno-non-virtual-dtor
     58QMAKE_CXXFLAGS_DEBUG   *= -Wno-non-virtual-dtor
     59
    5660macx {
    5761    # Mac OS X Frameworks
    5862    FWKS = AGL ApplicationServices Carbon Cocoa OpenGL QuickTime