[MacPorts] #71658: glib2 @2.78.4_1: build fails with gcc14: glib/gconvert.c:281:21: error: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types]

MacPorts noreply at macports.org
Fri Dec 27 22:01:19 UTC 2024


#71658: glib2 @2.78.4_1: build fails with gcc14: glib/gconvert.c:281:21: error:
passing argument 2 of 'libiconv' from incompatible pointer type
[-Wincompatible-pointer-types]
---------------------+----------------------
  Reporter:  kencu   |      Owner:  mascguy
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  glib2   |
---------------------+----------------------

Comment (by kencu):

 blacklisting gcc-14 leads to gcc-10 being used for the build (on systems
 that are defaulting to gcc-14 for builds).

 gcc-10 is relaxed enough to build this successfully. It flags the warning
 in the same place, but does not lead to it being raised as an error.

 {{{
 # https://trac.macports.org/ticket/71658
 compiler.blacklist-append   macports-gcc-14

 }}}

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


More information about the macports-tickets mailing list