[MacPorts] #63101: clang-12 @12.0.0: error: non-constant-expression cannot be narrowed from type 'long long' to 'std::size_t' (aka 'unsigned long') in initializer list [-Wc++11-narrowing]

MacPorts noreply at macports.org
Sat Jun 19 23:34:01 UTC 2021


#63101: clang-12 @12.0.0: error: non-constant-expression cannot be narrowed from
type 'long long' to 'std::size_t' (aka 'unsigned long') in initializer list
[-Wc++11-narrowing]
-------------------------+------------------------
  Reporter:  ryandesign  |      Owner:  kencu
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.99
Resolution:              |   Keywords:  highsierra
      Port:  clang-12    |
-------------------------+------------------------

Comment (by kencu):

 ugly then.

 I don't have the c++ skills to fix. I can mark it as not having a
 universal variant of course, until such time as somebody like Marcus,
 Ionic, Landon, Josh, etc might get interested.

 Upstream is never testing i386 builds on macOS, and has zero interest,  so
 that's also a tough sell...

 You know, even the x86_64 build can compile i386 code...it's only the
 clang libraries that need to be fat....otherwise we could just fake the
 universal, if you follow what I mean...

-- 
Ticket URL: <https://trac.macports.org/ticket/63101#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list