[mythtv] RE: [mythtv-commits] mythtv commits - compilation error.

John Harvey john.p.harvey at btinternet.com
Fri Oct 22 21:35:28 UTC 2004


I get this compile error with QT 3.1 after this commit. I am not sure what
was intended since I could not see any remove method in QTString for any
version that takes a const char * as a second parameter so I'll leave it to
someone else to work out what was intended.

John

g++ -c -pipe -Wall -W -g `freetype-config --cflags` -D_REENTRANT -fPIC
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX
-DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_IVTV_HEADER -DUSING_OSS -DUSING_XV
-DQT_THREAD_SUPPORT -I/usr/lib/qt-3.1/mkspecs/default -I.
-I/usr/local/include -I../libmyth -I.. -Idvbdev -I../libavcodec
-I/usr/lib/qt-3.1/include -o scheduledrecording.o scheduledrecording.cpp
scheduledrecording.cpp: In member function `void
   ScheduledRecording::runProgList()':
scheduledrecording.cpp:511: invalid conversion from `const char*' to
`unsigned
   int'
scheduledrecording.cpp:511:   initializing argument 1 of `QString&
   QString::remove(unsigned int, unsigned int)'
scheduledrecording.cpp:511: invalid conversion from `const char*' to
`unsigned
   int'
scheduledrecording.cpp:511:   initializing argument 2 of `QString&
   QString::remove(unsigned int, unsigned int)'
make: *** [scheduledrecording.o] Error 1



> -----Original Message-----
> From: mythtv-commits-bounces at mythtv.org [mailto:mythtv-commits-
> bounces at mythtv.org] On Behalf Of mythtv at cvs.mythtv.org
> Sent: 22 October 2004 20:15
> To: mythtv-commits at mythtv.org
> Subject: [mythtv-commits] mythtv commits
> 
> --------------------------------------------------------------------------
> --
> Changes committed by bjm on Fri Oct 22 19:14:03 2004
> 
> Modified Files:
>    in mythtv/libs/libmythtv:
>         proglist.cpp scheduledrecording.cpp scheduledrecording.h
>    in mythtv/programs/mythfrontend:
>         previousbox.cpp programrecpriority.cpp
> Log Message:
> Fixed upcoming episodes lists for search rules. When a search rule
> does not refer to a specific showing on the Set Priorities page, the
> UPCOMING button or options page item will show the list of shows that
> match the rule. Pressing UPCOMING on a title from that list will show
> the upcoming list for that title.
> 
> --------------------------------------------------------------------------
> --



More information about the mythtv-dev mailing list