Header files (Re: A little review of kdecore & kdeui)

Cornelius Schumacher schumacher at kde.org
Sat Apr 8 13:26:45 BST 2006


On Saturday 08 April 2006 09:26, Alexander Neundorf wrote:
>
> From my own real-world experience: every piece of software I ported from
> Windows to Linux did have incorrect includes, the developers just don't
> care about the case. Having one *simple* rule helps in this regard.

I can't imagine a more simple rule than "The include is exactly the same as 
the class name".

If under Windoes a wrong case is not an error, there always will be wrong 
includes when porting to Linux regardless of the convention. But as Thiago 
pointed out this is trivial to fix.

-- 
Cornelius Schumacher <schumacher at kde.org>




More information about the kde-core-devel mailing list