Project

General

Profile

Feature #171 ยป 0042-Implement-fc__fallthrough-for-clang.patch

Marko Lindqvist, 01/11/2024 07:09 AM

View differences:

utility/support.h
for C++ code */
#if defined(__GNUC__) && __GNUC__ >= 7
#define fc__fallthrough __attribute__((fallthrough))
#elif defined (__clang__) && __clang_major__ >= 12
#define fc__fallthrough __attribute__((fallthrough))
#else
#define fc__fallthrough
#endif
    (1-1/1)