[MacPorts] #68235: castxml: builds fail for 10.10/10.11: various compilation errors; blacklist older clang versions

MacPorts noreply at macports.org
Sun Sep 24 11:13:30 UTC 2023


#68235: castxml: builds fail for 10.10/10.11: various compilation errors; blacklist
older clang versions
---------------------+----------------------
 Reporter:  mascguy  |      Owner:  stromnov
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.8.1
 Keywords:           |       Port:  castxml
---------------------+----------------------
 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/

-- 
Ticket URL: <https://trac.macports.org/ticket/68235>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list