build failure in kdebase

Craig Drummond Craig.Drummond at gmx.net
Thu Oct 30 22:05:41 GMT 2003


> XConfig.cpp: At global scope:
> XConfig.cpp:60: error: prototype for `bool CXConfig::configureDir(const
>     QString&)' does not match any in class `CXConfig'
> XConfig.h:100: error: candidate is: static bool
> CXConfig::configureDir(const
>     QString&, QStringList&)

Umm... this is *weird*. There's 2 different prototypes for configureDir() and 
createFontsDotDir() - one for fontconfig (HAVE_FONTCONFIG), and one for 
XftConfig. It looks like in the cpp HAVE_FONTCONFIG is being defined, but not 
in the header. But this comes from reading in "config.h" (created by 
./configure, etc). This is included in XConfig.h - and XConfig.cpp  includes 
this.

Is this a problem due to --enable-final?

Craig.




More information about the kde-core-devel mailing list