Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

compile problem, MythContextPrivate::LoadSettingsFile()

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


cal at graggrag

Jul 4, 2008, 1:29 PM

Post #1 of 3 (232 views)
Permalink
compile problem, MythContextPrivate::LoadSettingsFile()

Given the absence of other sufferers, I'm probably dealing with a local
system quirk here (in which case I'll figure it out eventually), but if
anyone can spot an issue, well here goes ...

For a little while now I've been getting the following compile error on
trunk -

{{{
mythcontext.cpp: In member function ‘bool MythContextPrivate::LoadSettingsFile()’:
mythcontext.cpp:520: error: no matching function for call to ‘Settings::LoadSettingsFiles(const char [10], QString, QString)’
oldsettings.h:47: note: candidates are: bool Settings::LoadSettingsFiles(QString, QString)
}}}

The same result occurs with gcc 4.2 or 4.3 (debian testing), so it doesn't
seem to be a compiler version quirk, or a qt version one either.

$ gcc --version
gcc (Debian 4.3.1-2) 4.3.1

$ uname -a
Linux stkildaeast 2.6.25.10 #1 SMP PREEMPT Thu Jul 3 20:59:44 EST 2008 x86_64 GNU/Linux

Cheers, Cal

_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


erik at hovland

Jul 4, 2008, 1:51 PM

Post #2 of 3 (219 views)
Permalink
Re: compile problem, MythContextPrivate::LoadSettingsFile() [In reply to]

On Sat, Jul 05, 2008 at 06:29:39AM +1000, cal wrote:
> Given the absence of other sufferers, I'm probably dealing with a local
> system quirk here (in which case I'll figure it out eventually), but if
> anyone can spot an issue, well here goes ...
>
> For a little while now I've been getting the following compile error on
> trunk -
>
> {{{
> mythcontext.cpp: In member function ‘bool MythContextPrivate::LoadSettingsFile()’:
> mythcontext.cpp:520: error: no matching function for call to ‘Settings::LoadSettingsFiles(const char [10], QString, QString)’
> oldsettings.h:47: note: candidates are: bool Settings::LoadSettingsFiles(QString, QString)
> }}}

Is it possible that you have an old oldsettings.h around? The only
oldsettings.h I have is in libs/libmythdb and it has the correct
declaration for the call in mythcontext.cpp. This class moved around
when Isaac recently refactored a bunch of stuff into libmythui and
libmythdb.

E

--
Erik Hovland
mail: erik[at]hovland.org
web: http://hovland.org/
PGP/GPG public key available on request

_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


cal at graggrag

Jul 4, 2008, 2:47 PM

Post #3 of 3 (220 views)
Permalink
Re: compile problem, MythContextPrivate::LoadSettingsFile() [In reply to]

Erik Hovland wrote:
...
> Is it possible that you have an old oldsettings.h around? The only
> oldsettings.h I have is in libs/libmythdb and it has the correct
> declaration for the call in mythcontext.cpp. This class moved around
> when Isaac recently refactored a bunch of stuff into libmythui and
> libmythdb.

Cool, thank you so much! Found my problem.
_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.