[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    [Kde-pim] kresources/featureplan doesn't compile
From:       Adriaan de Groot <groot () kde ! org>
Date:       2004-09-26 21:39:30
Message-ID: 200409262339.30944.groot () kde ! org
[Download RAW message or body]

Danimo suggested doing a clean in kode/ and then trying again, but I'm having 
no luck building HEAD kresources/featureplan. The first errors are these:

In file included from kde-features.cpp:25:
kde-features.h:30: error: ISO C++ forbids declaration of `QValueList' with no 
type
kde-features.h:30: error: expected `;' before '<' token
kde-features.h:33: error: expected `,' or `...' before '&' token
kde-features.h:33: error: ISO C++ forbids declaration of `QString' with no 
type
kde-features.h:34: error: `QString' does not name a type

The problem is that <qstring.h> and <qvaluelist.h> aren't included when these 
files get compiled, so there's no definition of those types. Adding the 
relevant #includes to the .h file (and making it mode 0444 to prevent the XML 
compiler from overwriting it) makes it compile.

Speaking of modes, the XML compiler doesn't return an error code if it cannot 
write the output file.

Why does the XML compiler re-run when kde-features.h is touched, anyway?

-- 
   KPilot - www.kpilot.org - HotSync Solutions for KDE
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic