bug-gnulib
[Top][All Lists]
Advanced

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

Re: making INT_STRLEN_BOUND tight for unsigned types


From: Jim Meyering
Subject: Re: making INT_STRLEN_BOUND tight for unsigned types
Date: Tue, 27 Sep 2005 10:57:33 +0200

Paul Eggert <address@hidden> wrote:
> Jim Meyering <address@hidden> writes:
>> 2005-09-27  Jim Meyering  <address@hidden>
>>
>>      * intprops.h (signed_type_or_expr__): Define.
>>      (INT_STRLEN_BOUND) [__GNUC__]: Use a slightly tighter bound
>>      for unsigned types.
>
> That looks good to me; thanks.  One nit:
>
>> +#if __GNUC__
>
> I just checked, and it appears that __typeof__ was introduced in GCC
> around version 1.40, so if you want to take advantage of my software
> archaeology expedition you could change that #if to something like this:
>
> #if __GNUC__ >= 2

Might as well...
I've added that and checked it in to gnulib.

> (Yes, this has no real practical application these days....)
>
> PS.  My Google search claims that Doug Schmidt was the very first
> person to mention __typeof__ on Usenet, on March 22, 1990.
>
> You were #2:
...
> I was #4 <http://groups.google.com/group/gnu.gcc.bug/msg/8f167bd3a9abdc64>.
>
> Small world, huh?

:-)
Really.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]