which compilers do we want to support with KDE 4 ?

Frans Englich frans.englich at telia.com
Sat Jan 21 17:54:10 GMT 2006

On Saturday 21 January 2006 16:59, Joseph Wenninger wrote:
> Hi !
> I think we should support those compilers used by the new LSB standard and
> the newest stable GCC available. (Even debian sarge has  support for gcc
> 3.4 (although you have to modify the qt spec files if you want to use it in
> parallel to the 3.3 version). I don't think it makes sense to write ugly
> code or spread our resources to support hundreds (if you count all the
> distribution patched ones) of gcc versions.
> I think it is clear for everybody, why we should support the LSB compliant
> gcc.
> The reason why also try to always support the newest one (in case code
> there breaks, which worked with older version) is that KDE 4 has a long way
> to go till it is released and I don't think that at that point there will
> be many users with a gcc less than 3.4.
> I guess if KDE 4 is released, it will have a quite a long  lifecycle, as
> the 2.x and 3.x releases had, so it is more important to write standard
> compliant code, since we most probably will encounter many more gcc major
> releases, which will possibly remove more old legacy support. --> We should
> try to keep our code nice, readable and clean

One way to go in that direction is to globally enable for example -pedantic 
and -Wold-style-cast. (I don't know about possible drawbacks with that except 
for those one can avoid with -Wno*)



More information about the kde-core-devel mailing list