News for hackers. Stuff that matters.
Re:Your programming language is probably unproductive by gpderetta on Wednesday September 28, 2016 @04:35PM (#12601144)
7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]

if (x)

^~

9 : note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'

then();

^~~~

Re:Your programming language is probably unproductive by gravypod on Thursday September 29, 2016 @08:38AM (#12604764)
Relying on compiler-specific features.... where did I hear that before?

Oh yea, undefined behavior. Do you like using undefined behavior?

Re:Your programming language is probably unproductive by gpderetta on Thursday September 29, 2016 @09:26AM (#12605019)
That's just a warning. It has no effect on the generated code.

It is perfectly acceptable, and in fact considered proper engineering practice, to compile with multiple compilers to take advantage of their warning and static analysis capabilities.