Re:GCC should warn about 2^16 and 2^32 and 2^64
by Crinus on Monday June 17, 2019 @07:40AM
(#20201925)
Back in the day most people actually ignored the few warnings compilers would give them, i do not think that having a linter would be used much (and AFAIK there were some).
[ Parent
| on HN ]
Re:GCC should warn about 2^16 and 2^32 and 2^64
by gumby on Monday June 17, 2019 @04:08PM
(#20206814)
"Back in the day?" Check out your system's log file for a scary collection of horror shows. Or compile most packages these days.
In defense: configuring a package that is compiled by lots of people on lots of machines with lots of versions of various compilers requires a lot of attention to warning flags and such. If you aren't starting out a package from a blank buffer it's very hard to get this right.
But I am frequently shocked by the number of compiler warnings I get from code downloaded from public repos and compiled in precisely the environments it's been documented to have been tested on.