#9990 closed defect (fixed)

TITANIC: Suspicious fall-through cases

Reported by: bgK Owned by: dreammaster
Priority: normal Component: Engine: Titanic
Keywords: Cc:
Game: Starship Titanic

Description

GCC 7 enables by default the -Wimplicit-fallthrough=3 option which reports as warnings switch / case fall-throughs that are not annotated.

The Titanic engine generates a few of these for cases that look unintentional and possibly need to be checked against the disassembly.

See the attached file for the warnings generated by GCC.

Attachments (1)

titanic_fallthrough_warnings.txt (3.3 KB) - added by bgK 21 months ago.
GCC warnings

Download all attachments as: .zip

Change History (2)

Changed 21 months ago by bgK

GCC warnings

comment:1 Changed 21 months ago by dreammaster

Owner: set to dreammaster
Resolution: fixed
Status: newclosed

Thanks for that. I double checked each of them, and they were all meant to have breaks.

Note: See TracTickets for help on using tickets.