Y
Hacker News
new
|
ask
|
show
|
jobs
by
account42
1774 days ago
Both GCC and Clang have -Wparentheses, enabled with -Wall, which will warn on constructs like `if(x=0)`. MSVC also has a warning for this.