iproute icon indicating copy to clipboard operation
iproute copied to clipboard

Literal 4294967295 is out of the Int range -2147483648..2147483647 on 32bit systems

Open juhp opened this issue 8 years ago • 4 comments

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. :)

juhp avatar Oct 05 '16 07:10 juhp

@greydot I think that this warnings are caused from the code which you wrote. Would you check?

kazu-yamamoto avatar Oct 06 '16 07:10 kazu-yamamoto

Yeah, looks like thats my bad. Will fix this later today.

greydot avatar Oct 06 '16 11:10 greydot

A new version has been released.

kazu-yamamoto avatar Oct 14 '16 03:10 kazu-yamamoto

Thanks!

juhp avatar Oct 15 '16 01:10 juhp