[quagga-dev 8840] Re: [PATCH 6/9] vty: fix warnings

Stephen Hemminger shemminger at vyatta.com
Tue Sep 13 17:00:37 BST 2011


On Tue, 13 Sep 2011 17:45:32 +0400
Denis Ovsienko <infrastation at yandex.ru> wrote:

> 31.08.2011, 19:31, "David Lamparter" <equinox at diac24.net>:
> > From: Stephen Hemminger <shemminger at vyatta.com>
> >
> > Gcc now warns if function that takes printf style formatting is
> > passed a non-constant string. This avoid issues when a format character
> > is entered in some command.
> 
> My GCCs produce no warnings for lib/command.c, is this the right patch for the problem? 
> 

Do you have gcc 4.6?



More information about the Quagga-dev mailing list