mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-17 16:32:11 +01:00
When compiling with "-Werror,-Wimplicit-fallthrough", commitc90cc7b6tweaked WUFFS_BASE__FALLTHROUGH to work with newer clang compilers, when defined(__cplusplus) is false, but inadvertently broke older clang compilers, when __has_attribute(fallthrough) is false. This commit reverts some ofc90cc7b6to handle more cases. The next two commits will delete the WUFFS_BASE__FALLTHROUGH macro entirely and render this commit redundant, as the whole business is proving more trouble than it's worth. But it's checked into the commit history in case somebody in the future wants to revive WUFFS_BASE__FALLTHROUGH.