|
From: | John Spencer |
Subject: | Re: configure speedup proposal: add --assume-c99 and --assume-posix2008 flags |
Date: | Tue, 25 Mar 2014 21:05:52 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
Ralf Corsepius wrote:
On 03/23/2014 01:24 AM, John Spencer wrote:and for posix - sizeof int == 4 - have select() - etcThese assumptions are unsafe, esp. on non-mainstream architectures/OSes, which only partially implement c99.E.g. it's not that uncommon to find toolchains for embedded platforms which implement most of C99, but with sizeof int != 4 or without "select()".
well, noone forces you to use --assume-compliant-c99.as outlined in my previous responses, the usage is *optional* and *not default* and you would only use it on known non-broken platforms (i.e. those that implement C99 to the letter of the standard, for example linux + musl libc).
[Prev in Thread] | Current Thread | [Next in Thread] |