[MacPorts] #62397: colorer @take5.be5_2: error: redefinition of 'log' as different kind of symbol

MacPorts noreply at macports.org
Wed Mar 10 00:09:47 UTC 2021


#62397: colorer @take5.be5_2: error: redefinition of 'log' as different kind of
symbol
--------------------------+------------------------
  Reporter:  cooljeanius  |      Owner:  ryandesign
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.4
Resolution:  fixed        |   Keywords:
      Port:  colorer      |
--------------------------+------------------------
Changes (by ryandesign):

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


Comment:

 In [changeset:"a4d2173287425013bd226e3a3aaa46c77895247f/macports-ports"
 a4d2173287425013bd226e3a3aaa46c77895247f/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="a4d2173287425013bd226e3a3aaa46c77895247f"
 colorer: Rename log variable to avoid build failure

 In newer toolchains, <math.h> seems to get included into this source
 file automatically, causing a problem when its log function conflicts
 with this file's log variable. Rename the variable to avoid that.

 Closes: https://trac.macports.org/ticket/62397
 }}}

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


More information about the macports-tickets mailing list