Mazr has asked for the wisdom of the Perl Monks concerning the following question:

When I compile Perl on x86_64 Linux I get numerous gcc "limited range of datatype" warnings that show up as:
regexec.c: In function `S_regtry': regexec.c:2166: warning: comparison is always false due to limited ran +ge of data type regexec.c:2168: warning: comparison is always false due to limited ran +ge of data type
I get this when I compile 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

Replies are listed 'Best First'.
Re: x86_64 "limited range of datatype" warning
by dave_the_m (Monsignor) on Apr 02, 2006 at 17:00 UTC
    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.

      Thanks for the quick reply. John