develooper Front page | perl.perl5.porters | Postings from February 2016

Compiler warnings on HP-UX from _MEM_WRAP_NEEDS_RUNTIME_CHECK

Thread Next
Karl Williamson
February 26, 2016 19:59
Compiler warnings on HP-UX from _MEM_WRAP_NEEDS_RUNTIME_CHECK
Message ID:
There are still compiler warnings on HP-UX despite
commit 73e8ff0004522621dfb42f01966853b51d5522a6
  Author: David Mitchell <>
  Date:   Wed Sep 9 13:02:40 2015 +0100

      fix some 32/64-bit compiler warnings

      Some bits of code don't do well on a 32-bit system with 64-bit ints

      In particular:

          if sizeof(MEM_SIZE) > sizeof(n), then the shift count could be


Here is an example:
  cc: "regcomp.c", line 9078: warning 950: Shift amount should be in the 
range of zero through 31 bits.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About