git: Teach gcc41 about %b and %D taking two parameters in a better way.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Oct 4 04:04:04 PDT 2010


commit c3f667bda27b6b92b8c514d579ac649eb5fe9a69
Author: Sascha Wildner <saw at online.de>
Date:   Mon Oct 4 08:33:54 2010 +0200

    Teach gcc41 about %b and %D taking two parameters in a better way.
    
    Previously, we had special code to handle the properties of %b and %D
    (which are for printing bit masks and hexdumps, respectively). Remove
    this code and instead use chained format_char_info's to pass the
    information that both of these formats consume two arguments.

Summary of changes:
 contrib/gcc-4.1/gcc/c-format.c |   56 +++-------------------------------------
 1 files changed, 4 insertions(+), 52 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c3f667bda27b6b92b8c514d579ac649eb5fe9a69


-- 
DragonFly BSD source repository





More information about the Commits mailing list