Re:Banned C standard library functions in Git source code
by asveikau on Sunday August 25, 2019 @12:36PM
(#20793880)
I actually wonder why they do it.
Linkers already warn for this stuff. Doing it this way requires every source file to include banned.h, which I would guess is done by including it from some other common header, but that's not fool proof either.
Linkers already warn for this stuff. Doing it this way requires every source file to include banned.h, which I would guess is done by including it from some other common header, but that's not fool proof either.