Compilation with GCC 4.6

Cyrille Berger Skott cberger-+uqXpx98+lnR7s880joybQ at
Sun Apr 17 00:30:21 BST 2011


On Saturday 16 April 2011, Christoph Feck wrote:
> I recently switched to GCC 4.6.0, and compiled (nearly) all of svn trunk
> resp. git master. Everything went fine, except for two issues:
> * Eigen2 uses ptrdiff_t, but does not include <cstddef>, causing a
> compilation error in "calligra" and "kstars". This bug has been reported
> to Eigen developers[1], so the question is, if we should just ignore the
> bug, in other words, "if you use a newer gcc, make sure you try to find a
> newer Eigen" or if we should help here and add a few temporary include
> lines; I have local patches for calligra and kstars adding those.

I think it would be better to help there and put the include in our code. New 
release of eigen 2 might or might not happen, and will takes time anyway.

Cyrille Berger Skott

More information about the kde-core-devel mailing list