This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: formats and syslog question
On Sat, Sep 14, 2002 at 11:45:50AM +0100, Joseph S. Myers wrote:
> Duplication of a table and the consequent risk of divergence between the
> two similar but different tables, both of which now need to be maintained.
This can be handled easily, by not using cut&paste but programming the copy
instead. Acceptable ?
> syslog is supported, and has been for a long time, by the printf format;
> there's just the warning for the limited number of users using -pedantic.
...which kills -Wall -pedantic -Werror, which are flags you may want to
use for security stuff.
(and even without -Werror, extra warnings are likely to hide deeper
problems).