lkml.org 
[lkml]   [2002]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] printk and dma_addr_t
Date
From
>    From: Alan Cox <alan@lxorguk.ukuu.org.uk>
> Date: Wed, 13 Feb 2002 09:40:44 +0000 (GMT)
>
> Vomit. How about adding a dma_addr_t %code to the printk function ?
>
> And gcc will discover this via what? Osmosis perhaps? :-)

Yeah, seems gcc is a bit lacking in its overclever printf handlers. It
lacks the ability to declare additional non standard % code - despite the
fact glibc itself expands on the standard

glibc 2.0 adds conversion characters C and S.

glibc 2.1 adds length modifiers hh,j,t,z and conversion
characters a,A.

glibc 2.2 adds the conversion character F with C99 seman-
tics, and the flag character I.

So how do they modify the printf format rules in gcc ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.248 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site