DragonFly BSD
DragonFly commits List (threaded) for 2010-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 4 Oct 2010 04:02:00 -0700 (PDT)

commit c3f667bda27b6b92b8c514d579ac649eb5fe9a69
Author: Sascha Wildner <saw@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]