[mythtv] [PATCH]: Fix compiler warning in CVS
Geoffrey Hausheer
ou401cru02 at sneakemail.com
Thu Sep 25 13:23:10 EDT 2003
On 25 Sep 2003 12:37:28 -0400, "Derek Atkins warlord-at-MIT.EDU
|mythtv/1.0-Allow|" <j0xjhlc9ur0t at sneakemail.com> said:
> Hi,
>
> When I build current CVS I get the following compiler warning:
>
> g++ -c -pipe -Wall -W -g `freetype-config --cflags` -D_REENTRANT
> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX
> -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.1/mkspecs/default -I.
> -I/usr/local/include -I../libmyth -I.. -I../libavcodec -I../libavformat
> -I../libdvbdev -I/usr/lib/qt-3.1/include -o NuppelVideoPlayer.o
> NuppelVideoPlayer.cpp
> In file included from NuppelVideoPlayer.h:13,
> from NuppelVideoPlayer.cpp:17:
> recordingprofile.h:8: warning: aggregate has a partly bracketed
> initializer
>
> The enclosed patch fixes the problem.
>
Weird that I don't see that. You'll probably need to do the same in
mpegrecorder.cpp where I do the same thing. By the way, why isn't that
valid C syntax?
.Geoff
More information about the mythtv-dev
mailing list