CMake: Use GCC7's -Wimplicit-fallthrough=5
authorCampbell Barton <ideasman42@gmail.com>
Sat, 20 May 2017 04:01:03 +0000 (14:01 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 20 May 2017 04:01:03 +0000 (14:01 +1000)
commit81e584ed17902878579131776b4e5a9f7b54cdab
treeb69c5e579eaa1c6b40c99a2ad36f75e385f50df3
parent6cd1d34dc1953f007ee16e9673e1d112160fb162
CMake: Use GCC7's -Wimplicit-fallthrough=5

Use to avoid accidental missing break statements,
use ATTR_FALLTHROUGH to suppress.
44 files changed:
CMakeLists.txt
intern/string/STR_HashedString.h
source/blender/alembic/intern/abc_curves.cc
source/blender/blenkernel/intern/image.c
source/blender/blenkernel/intern/mball_tessellate.c
source/blender/blenkernel/intern/packedFile.c
source/blender/blenkernel/intern/particle.c
source/blender/blenkernel/intern/rigidbody.c
source/blender/blenlib/BLI_compiler_attrs.h
source/blender/blenlib/intern/hash_mm2a.c
source/blender/blenlib/intern/string.c
source/blender/blenlib/intern/string_utf8.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/animation/anim_draw.c
source/blender/editors/animation/anim_markers.c
source/blender/editors/interface/interface_handlers.c
source/blender/editors/mask/mask_ops.c
source/blender/editors/render/render_opengl.c
source/blender/editors/space_clip/space_clip.c
source/blender/editors/space_clip/tracking_ops.c
source/blender/editors/space_clip/tracking_ops_plane.c
source/blender/editors/space_image/image_buttons.c
source/blender/editors/space_nla/nla_draw.c
source/blender/editors/space_sequencer/sequencer_edit.c
source/blender/editors/space_text/space_text.c
source/blender/editors/space_text/text_autocomplete.c
source/blender/editors/space_view3d/drawobject.c
source/blender/editors/transform/transform.c
source/blender/editors/transform/transform_manipulator.c
source/blender/editors/transform/transform_orientations.c
source/blender/editors/util/numinput.c
source/blender/editors/uvedit/uvedit_smart_stitch.c
source/blender/gpu/intern/gpu_debug.c
source/blender/python/intern/bpy_rna.c
source/blender/python/mathutils/mathutils_Color.c
source/blender/python/mathutils/mathutils_Euler.c
source/blender/python/mathutils/mathutils_Matrix.c
source/blender/python/mathutils/mathutils_Quaternion.c
source/blender/render/intern/source/render_texture.c
source/blender/render/intern/source/volumetric.c
source/gameengine/Expressions/intern/PyObjectPlus.cpp
source/gameengine/GameLogic/SCA_PropertySensor.cpp
source/gameengine/Ketsji/KX_ObstacleSimulation.cpp
source/gameengine/Ketsji/KX_SoundActuator.cpp