Page MenuHomePhabricator

MITK not compilable with GCC 4.8
Closed, ResolvedPublic

Event Timeline

User kislinsk has pushed new remote branch:

bug-17428-GCC48

[431ca1]: Merge branch 'bug-17428-GCC48'

Merged commits:

2014-03-07 12:07:37 Stefan Kislinskiy [ff1589]
Changed compiler check for GCC 4.8 in Connectomics module.

Unfortunately, your change broke compilation on my system. I've checked the CMake variable ${GCC_VERSION} and at least on Fedora 19 it contains not only major and minor version, but also a third value (e.g. 4.8.2 instead of just 4.8).

Hm, okay, a fix that works with both cases is:

${GCC_VERSION} VERSION_EQUAL "4.8" OR ${GCC_VERSION} VERSION_GREATER "4.8"

BTW, do we know that GCC 4.7.x doesn't emit warnings while compiling the Connectomics module?

[fb65cd]: Merge branch 'bug-17428-GCC48Fedora'

Merged commits:

2014-03-10 09:21:39 Stefan Kislinskiy [de8f23]
Fixed Connectomics module build script for Fedora GCC 4.8.x Release.