Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2016 11:11:20 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r300718 - in head/sys: kern sys
Message-ID:  <20160527081120.GJ38613@kib.kiev.ua>
In-Reply-To: <da70cbf0-4e4a-7050-f84b-25d00aad7b78@selasky.org>
References:  <201605260841.u4Q8ft9r045564@repo.freebsd.org> <20160526213716.GK58287@FreeBSD.org> <da70cbf0-4e4a-7050-f84b-25d00aad7b78@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 27, 2016 at 09:42:24AM +0200, Hans Petter Selasky wrote:
> We cannot use the "bool" type in userspace at least, because 
> sizeof(bool) depends on the compiler. So the interface must use an 
> integer type at least, possibly uint8_t like now.

What do you mean ?  There are ABIs, and we expect all used compilers to
follow common arch ABI.  Old psABIs date back to time where _Bool
did not existed yet, but now it is ubiquitious.  E.g. both i386 and
amd64 require _Bool have a representation by single byte, with the
byte alignment.

Can you give exact examples of the inconsistencies, on any platform,
regardless of our tier ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160527081120.GJ38613>