[MacPorts] #65854: glib2 @2.70.5_0: build fails on 10.5 PPC: pragma GCC diagnostic not allowed inside functions

MacPorts noreply at macports.org
Sat Dec 3 02:16:59 UTC 2022


#65854: glib2 @2.70.5_0: build fails on 10.5 PPC: pragma GCC diagnostic not allowed
inside functions
------------------------+-------------------------
  Reporter:  ballapete  |      Owner:  mascguy
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.7.2
Resolution:  fixed      |   Keywords:  leopard ppc
      Port:  glib2      |
------------------------+-------------------------
Changes (by kencu):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"bf232c7a084bee232ee1e6988402b6c9688fc200/macports-ports"
 bf232c7a084bee232ee1e6988402b6c9688fc200/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="bf232c7a084bee232ee1e6988402b6c9688fc200"
 glib2: fix build with older gccs

 they don't accept pragmas inside functions
 just test against compiler matches gcc for now

 closes: https://trac.macports.org/ticket/65854
 }}}

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


More information about the macports-tickets mailing list