Skip to content

macros: Define G_GNUC_FALLTHROUGH for more compilers

Timm Bäder requested to merge wip/baedert/fallthrough-clang into master

Some compilers have __GNUC__ defined as a value less than 6, but do support implicit-fallthrough via __attribute__((fallthrough)). Define G_GNUC_FALLTHROUGH for those that support __has_attribute.

Edited by Timm Bäder

Merge request reports