git: Teach gcc41 about %b and %D taking two parameters in a bett

看板DFBSD_commit作者時間15年前 (2010/10/04 19:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CgRiwGx (DFBSD_commit)