[MacPorts] #66457: libmpc Header mpc.h fails to include stdio.h required for FILE

MacPorts noreply at macports.org
Tue Dec 13 18:52:26 UTC 2022


#66457: libmpc Header mpc.h fails to include stdio.h required for FILE
------------------------------+------------------------------
  Reporter:  ragnese          |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:  ventura monterey
      Port:  libgcc12 libmpc  |
------------------------------+------------------------------

Comment (by cjones051073):

 Thanks. I am more inclined to consider this an issue with libmpc than gcc,
 as its header directly refers to FILE but does not explicitly include the
 header that declaresnit, which breaks the ‘include what you use’
 principle. Yes it appears some recent Xcode change appears to have exposed
 this, but i think the core issue is there.

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


More information about the macports-tickets mailing list