Page MenuHomePhabricator

warnings interpreted as error with clang 3.6
Closed, InvalidPublic

Description

Clang 3.6 creates a warning if the override keyword is missing. This should maybe not be interpreted as an error yet.

add
mitkFunctionCheckCAndCXXCompilerFlags("-Wno-error=inconsistent-missing-override" module_c_flags module_cxx_flags)
to
/home/christoph/data/dartclients/clang-mitk-debug/MITK/CMake/mitkFunctionCreateModule.cmake

Event Timeline

Marco is looking into transforming the source code accordingly.

unused typedefs are also creating a warning / error in clang 3.6

User kolbch has pushed new remote branch:

bug-18883-Clang360CompatibilityFix

core change required.
only removed unused typedefs. compiling with clang 3.6 works

The warnings are gone... I don't know why

Decided to merge this anyway since it is a useful fix

[2d278f]: Merge branch 'bug-18883-Clang360CompatibilityFix'

Merged commits:

2015-05-18 15:49:34 Christoph Kolb [f14d4d]
Remove unused typedefs to prevent warning in clang 3.6

This bug could not be fixed during the 2015.05 release.
Setting target_milestone to AfterNextRelease

there was no warning. I did something wrong but the fix was committed anyway because it was only code cleaning

kislinsk changed the task status from Invalid to Spite.Jun 27 2018, 1:29 PM
kislinsk added a project: Bulk Edit.
kislinsk changed the task status from Spite to Invalid.Jun 27 2018, 1:36 PM
kislinsk removed a project: Bulk Edit.