4 ms·
Two consecutive goto fail statements, but no unreachable code warning in the builds?
by JosephHatfield 13y ago
Two consecutive goto fail statements, but no unreachable code warning in the builds?
- deletes 13y agoI'm convinced the warnings are there, but were ignored. EDIT: The compiler I use( based on lcc ), gives an Unreachable code warning.
- kalleboo 13y agoI wonder if the goto confuses the compiler > https://www.imperialviolet.org/2014/02/22/applebug.html 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.
- deleted 13y ago[deleted]