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

Aaron Puchert noreply at phabricator.kde.org
Wed Nov 29 22:41:54 UTC 2017


aaronpuchert added a comment.


  There are no issues with `-Wswitch`, but some with `-Wcovered-switch-default`.
  
  Sometimes people cast integers to enumeration types without checking whether it's a valid enumeration value first. So it might not be easy so safely fix all issues that arise. But I'll see what I can do.

REPOSITORY
  R32 KDevelop

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

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


More information about the KDevelop-devel mailing list