D9042: Add -Werror=switch and -Wcovered-switch-default

Aaron Puchert noreply at phabricator.kde.org
Tue Nov 28 23:33:01 UTC 2017


aaronpuchert created this revision.
aaronpuchert added a reviewer: KDevelop.

REVISION SUMMARY
  The former ensures that switch statements are adapted when an
  enumeration is changed. The latter encourages to remove the default
  label in fully covered switch statements, making the former more
  effective. (It is silenced by default labels.)

REPOSITORY
  R32 KDevelop

BRANCH
  switch-enum

REVISION DETAIL
  https://phabricator.kde.org/D9042

AFFECTED FILES
  CMakeLists.txt

To: aaronpuchert, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20171128/a47227bb/attachment-0001.html>


More information about the KDevelop-devel mailing list