News for hackers. Stuff that matters.
Re:A theory of how developers seek information by inglor_cz on Thursday April 29, 2021 @07:58AM (#26980030)
There was a slightly frustrating time in my life when I had to compile a single source base with several compilers (MSVC, Clang, GCC, CodeWarrior and ARMCC), whose tolerance for various quirks was rather incompatible.

I do not remember the details anymore, but some code provoked a compiler warning from one of the compilers, while its easiest fix provoked a compiler warning from another of the compilers.

I wanted to keep my -Wall, but it required strange twists of code sometimes.

Re:A theory of how developers seek information by emeraldd on Thursday April 29, 2021 @08:47AM (#26980472)
Knowing why a warning happens and being able to say that a particular warning is safe to suppress in a given instance is a reasonable way to deal with that case. There isn't a lot else you can really do... but you need to know the why part and have a documented explanation of for the suppression.