Article 4EXCV The Linux Kernel Is Close To Enabling "-Wimplicit-fallthrough" By Default

The Linux Kernel Is Close To Enabling "-Wimplicit-fallthrough" By Default

by
from Phoronix on (#4EXCV)
The -Wimplicit-fallthrough compiler flag has been around since GCC 7 for warning over switch fall-through cases where it could lead to potential bugs / unexpected behavior if the programmer inadvertently forgot to add a "break" statement to a case. The Linux kernel is looking to soon enable this warning by default...
External Content
Source RSS or Atom Feed
Feed Location http://www.phoronix.com/rss.php
Feed Title Phoronix
Feed Link https://www.phoronix.com/
Reply 0 comments