develooper Front page | perl.perl5.changes | Postings from March 2023

[Perl/perl5] fd1d8e: hints/hpux - only run d_strtold define overridech...

Yves Orton via perl5-changes
March 25, 2023 12:33
[Perl/perl5] fd1d8e: hints/hpux - only run d_strtold define overridech...
Message ID:
  Branch: refs/heads/yves/hpux_build_warning_suppression
  Commit: fd1d8edfa037daa5aa9f275f1cacfcc0ba7abb0d
  Author: Yves Orton <>
  Date:   2023-03-25 (Sat, 25 Mar 2023)

  Changed paths:
    M hints/

  Log Message:
  hints/hpux - only run d_strtold define override check on version < 11.23

I added a version check around the logic as the comment already says
that "In HP-UXes prior to 11.23 strtold() returned a HP-UX specific
union called long_double, not a C99 long double."

The logic did not check for the version mentioned in the comment, it
simply greped for something that is no longer present in the file:

    grep 'double strtold.const' /usr/include/stdlib.h

outputs nothing on HPUX version B.11.31.


    grep "double strtold" /usr/include/stdlib.h


    extern long_double strtold __((const char * __restrict, char ** __restrict));
    extern long double strtold __((const char * __restrict, char ** __restrict));

on HPUX version B.11.31. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About