- pike/src/interpret.c (+3/-0)(3 lines)
- pike/src/interpret_functions.h (+5/-0)(5 lines)
- pike/src/interpreter.h (+31/-18)(49 lines)
Interpreter: Advertise intended fallthrough cases
GCC >= 7 started being a bit verbose about this. Unfortunately from
inside macros our only option pretty much seems to be
__attribute__((fallthrough));, which we may not want to expose to other
compilers, hence using ADVERTISE_FALLTHROUGH macro.
For the general case, it seems to be the better option to stick with
/* FALLTHRU */ comments which GCC will also accept.
Java: Advertise intended fall-throughs to compilers etc.