[MacPorts] #59637: babl @0.1.72+universal: error: initializing '__m128i' (vector of 2 'long long' values) with an expression of incompatible type 'int'

MacPorts noreply at macports.org
Tue Mar 24 20:53:22 UTC 2020


#59637: babl @0.1.72+universal: error: initializing '__m128i' (vector of 2 'long
long' values) with an expression of incompatible type 'int'
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  dbevans
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:
      Port:  babl        |
-------------------------+----------------------

Comment (by kencu):

 babl is a moving target. I think it probably needs the muniversal PG
 again, but at any rate, on 10.5 Leopard i386, adding this incantation made
 it build
 {{{
 if {${build_arch} eq "i386"} {
     configure.args-append -Denable-f16c=false
 }
 }}}

 no promises as to whether that is the most elegant solution, but I'm
 thinking that this command has no business in a 32bit build:
 {{{
 ../babl-0.1.72-i386/extensions/sse-half.c:48:24: warning: implicit
 declaration of function '_mm_insert_epi64' is invalid in C99 [-Wimplicit-
 function-declaration]
       __m128i in_val = _mm_insert_epi64(
 }}}

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


More information about the macports-tickets mailing list