[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
Sat Sep 24 15:50:38 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16536
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
Note the following from cdef.h:
#if defined(__UINT64_TYPE__)
typedef __INT64_TYPE__ targ_llong;
typedef __UINT64_TYPE__ targ_ullong;
#elif defined(__UINTMAX_TYPE__)
typedef __INTMAX_TYPE__ targ_llong;
typedef __UINTMAX_TYPE__ targ_ullong;
#else
typedef long long targ_llong;
typedef unsigned long long targ_ullong;
#endif
Which of these is the C++ compiler on your machine doing? Is there another
macro it should be doing? Getting this right is necessary for the name mangling
to match what D generates for 'long' and 'ulong'.
The way to determine the pertinent macro is to have your C++ compiler dump all
its predefined macros, once for -m32 and once for -m64. Diff the two, and find
the relevant macro.
--
More information about the Digitalmars-d-bugs
mailing list