#68235 closed defect (fixed)

castxml: builds fail for 10.10/10.11: various compilation errors; blacklist older clang versions

Reported by: mascguy (Christopher Nielsen) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: castxml

Description (last modified by mascguy (Christopher Nielsen))

The following errors are seen for 10.10/10.11, suggesting that older Xcode Clang versions need to be blacklisted:

/opt/local/libexec/llvm-15/include/llvm/ADT/STLForwardCompat.h:53:22:
error: default initialization of an object of const type 'const llvm::in_place_t' without a user-provided default constructor
constexpr in_place_t in_place; // NOLINT(readability-identifier-naming)
                     ^

/opt/local/libexec/llvm-15/include/llvm/Support/Allocator.h:238:16:
error: no viable conversion from 'long long' to 'llvm::Optional<int64_t>'
        return InSlabIdx + static_cast<int64_t>(P - S);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[...etc...]

https://ports.macports.org/port/castxml/builds/

Change History (2)

comment:1 Changed 14 months ago by mascguy (Christopher Nielsen)

Description: modified (diff)

comment:2 Changed 14 months ago by Christopher Nielsen <mascguy@…>

Resolution: fixed
Status: assignedclosed

In 9af15d2f50a8384fe06d4c5931ea42905de8ea20/macports-ports (master):

castxml: blacklist clang < 900

Fixes: #68235

Note: See TracTickets for help on using tickets.