It works for me when:
- I enter the flag here
- Then clean project
- I receive this warning when I do a rebuild
Domanda
In light of the Apple's recent goto fail
, I've decided to add -Wunreachable-code
to existing LLVM flags (-Wall
and -Wextra
). However, the flag doesn't (seem to) work. For example, placing code after return;
doesn't trigger the warning. Is the flag even functional (GCC supposedly removed it)? What am I missing?
Soluzione
It works for me when: