Lines 1166-1179
Link Here
|
1166 |
* Tell the compiler that we're falling through to the next case in a switch. |
1166 |
* Tell the compiler that we're falling through to the next case in a switch. |
1167 |
* @sa RT_FALL_THRU */ |
1167 |
* @sa RT_FALL_THRU */ |
1168 |
#if RT_GNUC_PREREQ(7, 0) |
1168 |
#if RT_GNUC_PREREQ(7, 0) |
1169 |
# define RT_FALL_THROUGH() __attribute__((__fallthrough__)) |
1169 |
# define FALL_THROUGH __attribute__((__fallthrough__)) |
1170 |
#else |
1170 |
#else |
1171 |
# define RT_FALL_THROUGH() (void)0 |
1171 |
# define RT_FALL_THROUGH() (void)0 |
1172 |
#endif |
1172 |
#endif |
1173 |
/** @def RT_FALL_THRU |
1173 |
/** @def RT_FALL_THRU |
1174 |
* Tell the compiler that we're falling thru to the next case in a switch. |
1174 |
* Tell the compiler that we're falling thru to the next case in a switch. |
1175 |
* @sa RT_FALL_THROUGH */ |
1175 |
* @sa RT_FALL_THROUGH */ |
1176 |
#define RT_FALL_THRU() RT_FALL_THROUGH() |
1176 |
#define RT_FALL_THRU() FALL_THROUGH |
|
|
1177 |
#define RT_FALL_THROUGH() FALL_THROUGH |
1177 |
|
1178 |
|
1178 |
|
1179 |
|
1179 |
/** @def RT_IPRT_FORMAT_ATTR |
1180 |
/** @def RT_IPRT_FORMAT_ATTR |