Re:Goto fail
by JosephHatfield on Saturday February 22, 2014 @07:44AM
(#7281915)
Two consecutive goto fail statements, but no unreachable code warning in the builds?
[ Parent
| on HN ]
I'm convinced the warnings are there, but were ignored.
EDIT: The compiler I use( based on lcc ), gives an Unreachable code warning.
I wonder if the goto confuses the compiler
> https://www.imperialviolet.org/2014/02/22/applebug.html
> If I compile with -Wall (enable all warnings), neither GCC 4.8.2 or Clang 3.3 from Xcode make a peep about the dead code.