Branch: refs/heads/master
Home: https://github.com/synfig/synfig
Commit: 655a04290fba9f439eae14848ee571ba97e39941
https://github.com/synfig/synfig/commit/655a04290fba9f439eae14848ee571ba97e39941
Author: rodolforg <[email protected]>
Date: 2023-07-27 (Thu, 27 Jul 2023)
Changed paths:
M synfig-core/src/modules/mod_geometry/advanced_outline.cpp
M synfig-core/src/synfig/rendering/primitive/contour.cpp
M synfig-studio/src/gui/dialogs/canvasresize.cpp
Log Message:
-----------
refactor: add fallthrough mark in switch cases to avoid unneeded warning
(#3143)
and let us see only the valid warnings ;)
C++17 added the [[fallthrough]] attribute.
As we stick with C++11 for now, I made alternative ways I find out here:
https://en.cppreference.com/w/cpp/feature_test
https://stackoverflow.com/questions/45129741/gcc-7-wimplicit-fallthrough-warnings-and-portable-way-to-clear-them/52707279#52707279
https://stackoverflow.com/questions/44511436/how-to-do-an-explicit-fall-through-in-c
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl