build failure in kdebase

Benjamin Reed ranger at befunk.com
Thu Oct 30 22:22:28 GMT 2003


Craig Drummond wrote:

>>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?

I don't have enable-final enabled.

 From an earlier response, it sounds like the problem is, among other 
things, a c file getting included into a cpp file, which then includes a 
c++ header, and the preprocessor gets really confused.

Seems like if 2 parts of the project are using kxftconfig it should be 
factored into something both can include...

-- 
Benjamin Reed a.k.a. Ranger Rick -- http://ranger.befunk.com/
gpg: 6401 D02A A35F 55E9 D7DD  71C5 52EF A366 D3F6 65FE
A computer scientist is someone who, when told to 'Go to Hell', sees
the 'go to', rather than the destination, as harmful.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 253 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20031030/61165cf5/attachment.sig>


More information about the kde-core-devel mailing list