More about security warnings and style warnings:

> So, the warning "format not a string literal and no format arguments" or,
> more generally "format with no format arguments", is a *style* warning,
> not a *security* warning.

The idea is that security warnings are about situations that are dangerous
at runtime. Whereas style warnings ensure certain coding conventions.

So, a difference between style warnings and security warnings is that it
makes sense to enable security warnings on an entire distribution, whereas
style warnings can be enabled on specific projects. For coreutils you
shouldn't enable all possible style warnings, since the coreutils contributors
don't do beginner mistakes.

Bruno


Reply via email to