x86_64 "limited range of datatype" warning
Mazr
created: 2006-04-02 12:52:58
When I compile Perl on x86_64 Linux I get numerous gcc "limited range of datatype" errors that show up as:
regexec.c: In function `S_regtry':
regexec.c:2166: warning: comparison is always false due to limited range of data type
regexec.c:2168: warning: comparison is always false due to limited range of data type
I get this when I compile from the 5.8.7 source tarball and Red Hat's 5.8.5 SRPM. My questions are:
  1. is there anyway to fix these comparisons?
  2. if not, are these warnings something to be concerned about?
  3. if yes, is Perl recommended on x86_64, or not really?
Thanks,
John
Re: x86_64 "limited range of datatype" warning
created: 2006-04-02 13:00:21
1. is there anyway to fix these comparisons?

Not easily.

2. if not, are these warnings something to be concerned about?

No, they are harmless.

3. if yes, is Perl recommended on x86_64, or not really?

Perl is fine on that platform. It's currently my main platform for developing perl.

Dave.

Re^2: x86_64 "limited range of datatype" warning
created: 2006-04-02 15:56:49
Thanks for the quick reply. John

perlmonks.org content © perlmonks.org and dave_the_m, Mazr

prlmnks.org © 2006 edmund von der burg (eccles & toad)

v 0.03