[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-toolchain
Subject:    Re: Avoiding #define uint8_t (and similar) in stdint.h
From:       David Holland <dholland-tech () netbsd ! org>
Date:       2015-01-08 17:52:50
Message-ID: 20150108175250.GA6314 () netbsd ! org
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic