Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
juhp opened this issue Oct 5, 2016 · 4 comments

Comments

@juhp
Copy link

juhp commented Oct 5, 2016

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 juhp changed the title Addr.hs: Literal 4294967295 is out of the Int range -2147483648..2147483647 Literal 4294967295 is out of the Int range -2147483648..2147483647 on 32bit systems Oct 5, 2016
@kazu-yamamoto
Copy link
Owner

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

@greydot
Copy link

greydot commented Oct 6, 2016

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

@kazu-yamamoto
Copy link
Owner

A new version has been released.

@juhp
Copy link
Author

juhp commented Oct 15, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants