Re:size_t-to-int vulnerability in Linux’s filesystem layer
by 130e13a on Tuesday July 20, 2021 @01:46PM
(#27896822)
keep in mind though that -Weverything is not intended to be used in production: https://quuxplusone.github.io/blog/2018/12/06/dont-use-wever...
[ Parent
| on HN ]
Re:size_t-to-int vulnerability in Linux’s filesystem layer
by account42 on Thursday July 22, 2021 @04:38AM
(#27916748)
-Weverything is great for CI though, in compination with lots of -Wno-... flags to disable warnings you don't want. Instead of having to manually look out for new warning flags you will get all automatically.
Re:size_t-to-int vulnerability in Linux’s filesystem layer
by aaronmdjones on Sunday July 25, 2021 @02:22PM
(#27951558)
Yep, this is what I do; throw in -Weverything followed by a few things like -Wno-packed -Wno-padded -Wno-unused-parameter.