[MacPorts] #71658: glib2 @2.78.4_1: 10.4 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
Sun Dec 29 20:00:54 UTC 2024


#71658: glib2 @2.78.4_1: 10.4 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:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:  fixed   |   Keywords:  tiger
      Port:  glib2   |
---------------------+---------------------

Comment (by kencu):

 Just to be sure, I can confirm that glib2 does build with gcc-14 on
 Leopard (only PPC tested).

 This raises the question about why the type errors are showing up in
 Tiger. There are a number of patches and hold-backs that happen here and
 there for certain systems, and these are always rather nebulous and under-
 tested, frankly.

 Something about the way glib2 is building on Tiger is different. And that
 may not be good.

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


More information about the macports-tickets mailing list