bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] stdint fixes


From: Oskar Liljeblad
Subject: Re: [Bug-gnulib] stdint fixes
Date: Tue, 21 Sep 2004 07:25:24 +0200
User-agent: Mutt/1.5.6+20040818i

On Monday, September 20, 2004 at 21:03, Paul Eggert wrote:
> 
> > The way intmax_t are defined by uintmax_t.m4 makes
> > it impossible to use intmax_t in typedefs.
> 
> I don't see why; can you explain?  If intmax_t is defined this way:
> 
>   #define intmax_t long long
> 
> then this works:
> 
>   typedef intmax_t foo_type;

You're right, what I saw was a consequence of redefining intmax_t
instead:

typedef int64_t intmax_t
..

that would conflict with intmax_t in uintmax_t.m4. So in the stdint.h
case, it's probably better to remove the intmax_t definitions entirely.

Regards,

Oskar Liljeblad (address@hidden)




reply via email to

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