X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/f62f716d325db54bb85abeeb80fa2b4466ff860b..72aac62720fdd7ad8838984e8ca7cf2dedb7a776:/hints/dec_osf.sh diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index 1897d6b..4f3baef 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -167,22 +167,7 @@ EOF *"-c99: Unknown flag"*) _ccflags_strict_ansi="-std1" ;; - *) # However, use the -c99 only if compiling for - # -DPERL_MEM_LOG, where the C99 feature __func__ - # is useful to have. Otherwise use the good old - # -std1 so that we stay C89 strict, which the goal - # of the Perl C code base (no //, no code between - # declarations, etc). Moreover, the Tru64 cc is - # not fully C99, and most probably never will be. - # - # The -DPERL_MEM_LOG can be either in ccflags - # (if using an old config.sh) or in the command line - # (which has been stowed away in UU/cmdline.opt). - # - case "$ccflags `cat UU/cmdline.opt`" in - *-DPERL_MEM_LOG*) _ccflags_strict_ansi="-c99" ;; - *) _ccflags_strict_ansi="-std1" ;; - esac + *) _ccflags_strict_ansi="-c99" ;; esac _lddlflags_strict_ansi="-std1" @@ -278,7 +263,7 @@ toke_cflags='optimize=-O2' esac # The patch 23787 -# http://perl5.git.perl.org/perl.git/commit/73cb726371990cd489597c4fee405a9815abf4da +# https://github.com/Perl/perl5/commit/73cb726371990cd489597c4fee405a9815abf4da # broke things for gcc (at least gcc 3.3) so that many of the pack() # checksum tests for formats L, j, J, especially when combined # with the < and > specifiers, started to fail if compiled with plain -O3. @@ -557,6 +542,22 @@ case "$ccflags" in ;; esac +# These are in libm, but seem broken (there are no protos in headers, +# or man pages, either) +d_fdim='undef' +d_fma='undef' +d_fmax='undef' +d_fmin='undef' +d_llrint='undef' +d_llround='undef' +d_lrint='undef' +d_lround='undef' +d_nan='undef' +d_nearbyint='undef' +d_round='undef' +d_scalbn='undef' +d_tgamma='undef' + # # Unset temporary variables no more needed. #