Browse source

Changelog

Query
From:
To:
Branch:
Path:
Message:
BugID:
User: +
Format:
: 4 checkins (+258/-108) by Tobias S. Josefowitz <tobij@tobij.de> Lines added/removed recently

Sunday 04 November 2018

2018-11-04 13:47:39 (1 week ago) by Tobias S. Josefowitz <tobij@tobij.de>

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.

[permalink]

Bugs? Suggestions?