tech-toolchain archive

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

Re: Avoiding #define uint8_t (and similar) in stdint.h



On Thu, Jan 08, 2015 at 12:45:12PM -0500, Christos Zoulas wrote:
 > | On Thu, Jan 08, 2015 at 05:07:55PM +0000, Christos Zoulas wrote:
 > | > Fix the code so that CPP concatenation works by preventing expansion
 > | > of predefined names, changing:
 > | 
 > | This is not a fix, but a hack to work around the problem, and NetBSD is
 > | the only system affected, so we are making things harder without any
 > | benefit.
 > 
 > Is it the only system affected? What NetBSD is doing I believe is allowed.

Are those types allowed to be macros? Both C and POSIX are very
explicit about what is allowed to be a macro, and I can't see anything
in C99 that permits it for these.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index