[MacPorts] #67486: bc: link fails for 10.6: duplicate symbol _edit in bc.o and main.o
MacPorts
noreply at macports.org
Sat Sep 9 21:07:16 UTC 2023
#67486: bc: link fails for 10.6: duplicate symbol _edit in bc.o and main.o
----------------------+-------------------------
Reporter: mascguy | Owner: mascguy
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: fixed | Keywords: snowleopard
Port: bc |
----------------------+-------------------------
Comment (by mascguy):
Replying to [comment:4 jmroot]:
> The `edit` variable is defined (not declared) in `global.h`, so every
file that includes it will have its own definition. The definition should
probably be moved to `global.c` and extern declarations put in `global.h`.
While that makes sense, why does linking only fail on 10.6?
--
Ticket URL: <https://trac.macports.org/ticket/67486#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list