[mythtv] [mythtv-commits] mythtv commit: r21156 - in trunk/mythtv by cpinkham

Chris Pinkham cpinkham at bc2va.org
Sat Aug 8 07:36:03 UTC 2009

* On Sat Aug 08, 2009 at 09:05:28AM +0200, Jonathan Martens wrote:
> Does it compile properly on Linux? On windows build halts with the 
> following error:

Yes, compiled and tested.  There are 2 versions of DeleteFile defined
in the header file:

    static bool DeleteFile(const QString &url);
    bool DeleteFile(void);

Those are declared in the .cpp file as:

   bool RemoteFile::DeleteFile(const QString &url)


   bool RemoteFile::DeleteFile(void)

Can you make sure libs/libmythdb/remotefile.h is up to date on your
system?  I get similar errors to yours if I comment out the 2 lines
I added to remotefile.h and try compiling.

> remotefile.cpp:167: error: no 'bool RemoteFile::DeleteFileA(const 
> QString&)' member function declared in class 'RemoteFile'
> remotefile.cpp: In member function 'bool RemoteFile::DeleteFileA(const 
> QString&)':
> remotefile.cpp:175: error: no matching function for call to 
> 'RemoteFile::DeleteFileA()'
> remotefile.cpp:167: note: candidates are: bool 
> RemoteFile::DeleteFileA(const QString&)
> remotefile.cpp: At global scope:
> remotefile.cpp:182: error: prototype for 'bool 
> RemoteFile::DeleteFileA()' does not match any in class 'RemoteFile'
> remotefile.cpp:167: error: candidate is: bool 
> RemoteFile::DeleteFileA(const QString&)
> make[2]: *** [remotefile.o] Error 1
> make[2]: Leaving directory `/u/mythtv/mythtv/libs/libmythdb'
> make[1]: *** [sub-libmythdb-make_default] Error 2
> make[1]: Leaving directory `/u/mythtv/mythtv/libs'
> make: *** [sub-libs-make_default-ordered] Error 2


More information about the mythtv-dev mailing list