Re: [MacPorts] #68543: nmap @7.94 is broken on ppc: MACLookup.cc: error: integer constant is too large for ‘long’ type
MacPorts
noreply at macports.org
Sat Oct 28 22:41:41 UTC 2023
#68543: nmap @7.94 is broken on ppc: MACLookup.cc: error: integer constant is too
large for ‘long’ type
-------------------------+-------------------------------------------------
Reporter: | Owner: danielluke
barracuda156 |
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: wontfix | Keywords: tiger, leopard, snowleopard,
Port: nmap | powerpc
-------------------------+-------------------------------------------------
Comment (by barracuda156):
Replying to [comment:3 chrstphrchvz]:
> Regarding the use of `0xfffffffffL`, that is fine under C++11. nmap
seems to assume C++11 support, given its use of e.g. `long long` and
`uint64_t`—features which earlier compilers might only have as an
extension. A workaround for GCC < 4.3 is to use `0xfffffffffLL` instead,
but since that amounts to a cosmetic change under C++11, it is not
necessarily something upstream would be interested in, unless e.g. they
find it stylistically preferable.
We can set cxx_standard to 2011, I do not see any reasons preventing that.
--
Ticket URL: <https://trac.macports.org/ticket/68543#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list