[Click] Building click on 64bit
Eddie Kohler
kohler at cs.ucla.edu
Sun Apr 6 12:30:22 EDT 2008
Thanks for the report, Harald. I've addressed the issue in a different way
(size_t might be unsigned, and cp_basic_integer checks the sign).
Eddie
Harald Schioeberg wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Eddie Kohler wrote:
>> Hi Harald,
>>
>> Thanks very much for this report. I think this has been fixed -- please
>> do a git pull and let us know.
>>
>> Eddie
>
> almost.
> the size argument for cp_basic_integer should be of type size_t
>
> thanks
> harald
>
>
> ../../include/click/confparse.hh: In function ‘const char*
> cp_integer(const char*, c
> onst char*, int, int*)’:
> ../../include/click/confparse.hh:474: warning: overflow in implicit
> constant convers
> ion
> ../../include/click/confparse.hh: In function ‘bool cp_integer(const
> String&, int, i
> nt*)’:
> ../../include/click/confparse.hh:497: warning: overflow in implicit
> constant convers
> ion
> ../../include/click/confparse.hh: In function ‘const char*
> cp_integer(const char*, c
> onst char*, int, long int*)’:
> ../../include/click/confparse.hh:516: warning: overflow in implicit
> constant convers
> ion
> ../../include/click/confparse.hh: In function ‘const char*
> cp_integer(const char*, c
> onst char*, int, long long int*)’:
> ../../include/click/confparse.hh:536: warning: overflow in implicit
> constant convers
> ion
> ../../include/click/confparse.hh: In function ‘bool cp_integer(const
> String&, int, l
> ong int*)’:
> ../../include/click/confparse.hh:581: warning: overflow in implicit
> constant convers
> ion
> ../../include/click/confparse.hh: In function ‘bool cp_integer(const
> String&, int, l
> ong long int*)’:
> ../../include/click/confparse.hh:593: warning: overflow in implicit
> constant convers
> ion
> ../../include/click/confparse.hh: In function ‘bool cp_integer(const
> String&, int*)’
> :
> ../../include/click/confparse.hh:620: warning: overflow in implicit
> constant convers
> ion
> ../../include/click/confparse.hh: In function ‘bool cp_integer(const
> String&, long i
> nt*)’:
> ../../include/click/confparse.hh:630: warning: overflow in implicit
> constant convers
> ion
> ../../include/click/confparse.hh: In function ‘bool cp_integer(const
> String&, long l
> ong int*)’:
> ../../include/click/confparse.hh:642: warning: overflow in implicit
> constant convers
> ion
> g++ -W -Wall -g -O2 -o click2xml -rdynamic click2xml.o
> ../lib/libclicktool.a -ldl
>
>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFH+MTBJgyxs71kcx4RAt6nAKDu4HEiEOnn9aqa0bjOXMYBe0XIDwCeIHbz
> KF4TNOSy8wSPlTpF7IfMvWE=
> =8iK5
> -----END PGP SIGNATURE-----
>
More information about the click
mailing list