ITK includes generate a lot of warnings in the MITK Core with gcc 4.8.
Mostly all of these warnings are unused local typedefs in functions defined in ITK headers.
These can be deactivated in gcc 4.8 with the flag -Wno-unused-local-typedefs. There is also one array subscript is out of bounds warning in ITK that can be disabled with -Wno-array-bounds . These warnings, that prevent the MITK core to compile are new in gcc 4.8.
Description
Description
Related Objects
Related Objects
- Mentioned In
- T19373: Classification Build Errors in MBI
Event Timeline
Comment Actions
[3d6943]: Merge branch 'bug-15279-gcc48-warnings'
Merged commits:
2013-07-03 15:34:56 Marco Nolden [ab3f5f]
Deactivated some new GCC 4.8 warnings
2013-07-03 15:34:40 Marco Nolden [e0f032]
Removed unused typedefs
Comment Actions
The CMake code to suppress the warnings could cause some unknown option errors on older gcc versions, see e.g. http://cdash.mitk.org/viewBuildError.php?buildid=359580
Comment Actions
[f5578d]: Merge branch 'bug-15279-improved-warning-suppression'
Merged commits:
2013-10-16 16:52:32 Marco Nolden [2b77f7]
Fix errors/warnings related to unknown compiler options