[MacPorts] #54596: Tcl @8.6.7 does not build on PPC Tiger, Mac oS x 10.4.11, because "#pragma GCC diagnostic not allowed inside functions"

MacPorts noreply at macports.org
Tue Aug 15 10:16:34 UTC 2017


#54596: Tcl @8.6.7 does not build on PPC Tiger, Mac oS x 10.4.11, because "#pragma
GCC diagnostic not allowed inside functions"
------------------------+--------------------
  Reporter:  ballapete  |      Owner:  kencu
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.1
Resolution:  fixed      |   Keywords:  tiger
      Port:  tcl        |
------------------------+--------------------
Changes (by kencu):

 * owner:   => kencu
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"96734caea8b0b233b1b78437c0be8626775f1050/macports-ports"
 96734caea8b0b233b1b78437c0be8626775f1050/macports-ports]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="96734caea8b0b233b1b78437c0be8626775f1050"
 tcl: fix error on older compilers re: pragmas inside functions

 move pragma just outside the function
 fixes build on older gcc compilers
 closes: https://trac.macports.org/ticket/54596
 }}}

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


More information about the macports-tickets mailing list