Subject: Re: typeof (Re: CVS commit: src)
To: None <firstname.lastname@example.org, email@example.com>
From: Joerg Sonnenberger <firstname.lastname@example.org>
Date: 09/02/2006 14:32:03
On Sat, Sep 02, 2006 at 01:40:01AM -0500, David Young wrote:
> On Sat, Sep 02, 2006 at 12:09:19AM +0100, David Laight wrote:
> > On Fri, Sep 01, 2006 at 09:01:06AM +0900, YAMAMOTO Takashi wrote:
> > > >
> > > > Make the __BIT and __BITS macros "widthless," as best I can, by
> > > > changing their type to uintmax_t from uint32_t. XXX The manual
> > > > page lags this change by a bit.
> > > >
> > > > Define __PRIxBIT and __PRIxBITS printf(3) format strings.
> > >
> > > is it ok to use typeof here?
> > Almost certainly not since the header files gets built into tools.
> Please suggest an alternative.
Take a look at math.h, esp. __fpmacro_unary_floating.