4 ms·
What tool support does it require? I certainly hope there are no tools generating assignments in conditional expressions, and the only other tools that need to
by DHowett 14y ago
What tool support does it require? I certainly hope there are no tools generating assignments in conditional expressions, and the only other tools that need to support it clearly understand parentheses.
- dllthomas 14y agoThe warning itself is dependent on your compiler squawking when it sees "if(x = 5)". The C spec doesn't require this. On the other hand, "if(5 = x)" will be thrown out by any C compiler.