iproute
iproute copied to clipboard
Literal 4294967295 is out of the Int range -2147483648..2147483647 on 32bit systems
While building iproute on i686 and armv7 Linux with ghc-7.10.3 I noted some warnings:
Preprocessing library iproute-1.7.0...
[1 of 8] Compiling Data.IP.Addr ( Data/IP/Addr.hs, dist/build/Data/IP/Addr.o )
Data/IP/Addr.hs:128:50: Warning:
Literal 4294967295 is out of the Int range -2147483648..2147483647
Data/IP/Addr.hs:129:50: Warning:
Literal 4294967295 is out of the Int range -2147483648..2147483647
Data/IP/Addr.hs:130:50: Warning:
Literal 4294967295 is out of the Int range -2147483648..2147483647
Data/IP/Addr.hs:131:50: Warning:
Literal 4294967295 is out of the Int range -2147483648..2147483647
Note sure if they are serious but thought better report them. :)
@greydot I think that this warnings are caused from the code which you wrote. Would you check?
Yeah, looks like thats my bad. Will fix this later today.
A new version has been released.
Thanks!