|
From: | Christian Jullien |
Subject: | Re: [Tinycc-devel] simple #ifdef causes "error: function pointer expected" |
Date: | Thu, 21 May 2020 14:55:21 +0200 |
Or maybe more readable: #if (SIZE_MAX == UINT64_MAX) From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=address@hidden] On Behalf Of Christian Jullien Hi, In <stdint.h>, ISO C defines different macros that can help (you like UINTPTR_MAX). Something like; #if UINTPTR_MAX > UINT32_MAX Is close to what you’re looking for. C. From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=address@hidden] On Behalf Of Massimo Sala Ops. Pls any suggestion how to check with macro the sizeof size_t ? Should I check the max value of a size_t to infer its size ? I cannot find how to. M On Thu, 21 May 2020 at 14:08, <address@hidden> wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |