[mythtv] Compile warnings

Daniel Kristjansson danielk at cuymedia.net
Mon Nov 13 19:49:38 UTC 2006


On Mon, 2006-11-13 at 21:46 +0200, Otto Kolsi wrote:
> Just upgraded to HEAD and now seeing lots of these:
> 
> gcc -c -pipe -march=i686 -w -O3 -Wall -Wno-switch -Wno-non-virtual-dtor 
> -fomit-frame-pointer -DPIC -fPIC -fno-common -D_REENTRANT  -DMMX -Di386 
> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" 
> -DLIBDIR=\"/usr/local/lib\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT 
> -DQT_SHARED -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include 
> -I../../libs/libavcodec -I/usr/lib/qt-3.3/include -o cpu_state.o cpu_state.c
> cc1: warning: command line option "-Wno-non-virtual-dtor" is valid for 
> C++/ObjC++ but not for C
> cc1: warning: command line option "-Wno-non-virtual-dtor" is valid for 
> C++/ObjC++ but not for C
> 
> This is from the P IV based system, didn't have these with another AMD 
> based machine. Both systems are FC5 with gcc 4.1.1.

I'll fix this shortly.
The problem appears to be this line in settings.pro:

QMAKE_CFLAGS_RELEASE = $${QMAKE_CXXFLAGS_RELEASE}

-- Daniel



More information about the mythtv-dev mailing list