Skip to content
Commit b62f2df5 authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Anas Nashif
Browse files

toolchain: gcc: Fix fallthrough attribute for old versions



fallthrough attribute was introduced in gcc 7. For older versions the
macro is empty to avoid the follow warnning:

~/zephyrproject/zephyr/lib/os/printk.c:268:5: warning: empty declaration
     __fallthrough;

Signed-off-by: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent 47b4a5c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment