Hi, which version of gcc is required for building KDE ? It seems gcc 4.1 doesn't work, at least currently, see the mail below. Qt seems to require gcc 4.2 (http://doc.qt.nokia.com/4.6/supported-platforms.html)
If so, should we add a check whether gcc is at least 4.2 and fail otherwise ? Alex On Wednesday 10 November 2010, Raphael Kubo da Costa wrote: > On Wednesday 03 November 2010 10:07:44 Raphael Kubo da Costa wrote: > > Hey all, > > > > So Alex from DragonFly BSD has been trying to contribute to the > > nightly builds, but kdelibs is failing to compile for him -- see > > https://bugs.kde.org/show_bug.cgi?id=255922 > > > > Apparently, the proxymodeltestsuite only compiles on gcc 4.2+, but the > > default compiler on DragonFly is still gcc 4.1 (IIRC, Qt only supports > > gcc 4.2+ officially). > > > > I was wondering what approach should be taken here -- we can just > > ignore gcc 4.1, we can compile those tests only if gcc > 4.1 or we can > > hope those tests can be "fixed" to compile on a probably buggy gcc > > version. > > > > If we go with the second option, it is possible to add some check for > > gcc and its version in the CMakeLists.txt that compiles that test > > suite. OTOH, FindKDE4Internal.cmake already checks for the GCC > > version, so I was wondering if it makes sense to export the values it > > finds. What do you think? > > > > Cheers, > > rakuco
