|
|
|
|
|
by comex
1978 days ago
|
|
These days, both GCC and Clang have a compiler warning about it: https://developers.redhat.com/blog/2016/02/26/gcc-6-wmislead... However, for some reason, while GCC puts it under -Wall, Clang (which Apple uses) doesn't enable it even with -Wall -Wextra; you have to manually add -Wmisleading-indentation. It's also not enabled by the default Xcode template. |
|