tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Defining more PRIxxx macros
On Sat, Jan 17, 2009 at 10:53:08AM +0200, Alan Barrett wrote:
> > I'd suggest that every _t type defined (anywhere in the basic system
> > anyway) should have a PRI macro defined along with it (the sole
> > exception being types that it is impossible to print with any simple
> > format - structs and such).
>
> I am very pleased to see support for this idea.
I still think this scheme is irredeemably ugly, but I don't really
have any better ideas.
Although I think just casting the value arguments to large-enough
integer types is a lot less error-prone.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index