I'm not complaining here, but I am curious. Recently, in this question "log(10.0) can compile but log(0.0) cannot?", I commented on the question providing a succinct answer as to why log(0.0)
didn't compile (I said -lm
needs to go after a.c, not before it).
The accepted answer does mention this, but at the very, very end of the lengthy (but overall great) answer. The second answer incorrectly suggests that the -lm
flag is missing altogether, rather than just misplaced.
I added my comment as a succinct explanation so readers didn't have to read a long accepted answer to see the real solution, and also to slightly correct the second answer. For some reason, though, my comment is gone. I'm assuming a mod deleted it. (edit: and now the comment is back)
Generalizing this to other questions, if there is a question, and it's been answered with a lengthy (though good) answer, and I know I can sum it up in just a sentence or two, should I (and may I) comment on the question with the very succinct answer?
I find it helps future readers to find a concise answer.