[Issue 16536] DMD master does not build on OS X 10.11.6/Xcode 7.3.1
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Oct 7 09:10:42 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16536
--- Comment #10 from David Nadlinger <code at klickverbot.at> ---
(In reply to Martin Nowak from comment #9)
> Looks like the difference between Xcode 7.3.x and older versions (tried
> 5.1.1) is the lack of __UINTMAX_TYPE__.
> Strangely David reports __UINTMAX_TYPE__ to be "long unsigned int"
> (compatible w/ dmd's ulong).
>
> Could someone who can reproduce the problem […]
Just for the sake of completeness, I still get the same in both C and C++ mode
$ clang -dM -E test.c | grep UINTMAX
#define __UINTMAX_C_SUFFIX__ UL
#define __UINTMAX_FMTX__ "lX"
#define __UINTMAX_FMTo__ "lo"
#define __UINTMAX_FMTu__ "lu"
#define __UINTMAX_FMTx__ "lx"
#define __UINTMAX_MAX__ 18446744073709551615UL
#define __UINTMAX_TYPE__ long unsigned int
#define __UINTMAX_WIDTH__ 64
$ clang++ -dM -E test.cpp | grep UINTMAX
#define __UINTMAX_C_SUFFIX__ UL
#define __UINTMAX_FMTX__ "lX"
#define __UINTMAX_FMTo__ "lo"
#define __UINTMAX_FMTu__ "lu"
#define __UINTMAX_FMTx__ "lx"
#define __UINTMAX_MAX__ 18446744073709551615UL
#define __UINTMAX_TYPE__ long unsigned int
#define __UINTMAX_WIDTH__ 64
--
More information about the Digitalmars-d-bugs
mailing list