[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proposed simplification rewrite of stdint module
From: |
Paul Eggert |
Subject: |
Re: proposed simplification rewrite of stdint module |
Date: |
Thu, 29 Jun 2006 16:48:47 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Ben Pfaff <address@hidden> writes:
> I don't know whether it really matters in practice, but C99 says
> that these types are typedefs, not macros.
Yes, that's a disadvantage of the new approach. However, it's common
practice with Autoconf to use #define in this case, so we have a lot
of experience with that sort of thing. In theory the #define's would
break a conforming program that expected a preprocessor expression
like "defined intmax_t" to return false, but this sort of thing isn't
worth worrying about in practice.