[Scummvm-tracker] [ScummVM] #9990: TITANIC: Suspicious fall-through cases

Bastien Bouclet trac at scummvm.org
Sun Jul 23 12:35:01 CEST 2017


#9990: TITANIC: Suspicious fall-through cases
-------------------+------------------------------
Reporter:  bgK     |      Owner:  (none)
    Type:  defect  |     Status:  new
Priority:  normal  |  Component:  Engine: Titanic
Keywords:          |       Game:  Starship Titanic
-------------------+------------------------------
 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.

--
Ticket URL: <https://bugs.scummvm.org/ticket/9990>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list