Re:Rust things I miss in C
by loeg on Monday February 19, 2018 @11:02AM
(#16413620)
Depends on what you mean by "accept," doesn't it?
Yes, without -Werror, C compilers won't act on diagnostic warnings. But C compilers can and do warn about "valid C code" that happens to set off alarm bells.
Yes, without -Werror, C compilers won't act on diagnostic warnings. But C compilers can and do warn about "valid C code" that happens to set off alarm bells.
And with -Werror, they reject some valid C code.