git: Teach GCC about our strftime()'s non-standard %+ conversion specifier.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Jan 8 12:58:35 PST 2014


commit 9a4014fec0e113a339de98ed16f061c13ff8b6fb
Author: Sascha Wildner <saw at online.de>
Date:   Wed Jan 8 21:57:22 2014 +0100

    Teach GCC about our strftime()'s non-standard %+ conversion specifier.
    
    This silences warnings which appear when using -Wformat on functions
    which have the "strftime" attribute and where %+ is used.

Summary of changes:
 contrib/gcc-4.4/gcc/c-format.c          | 2 ++
 contrib/gcc-4.7/gcc/c-family/c-format.c | 2 ++
 2 files changed, 4 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9a4014fec0e113a339de98ed16f061c13ff8b6fb


-- 
DragonFly BSD source repository



More information about the Commits mailing list