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

[perl #127894] -DDEBUGGING -Dusequadmath -Dusethreads builds crashearly

From:
Tony Cook via RT
Date:
April 20, 2016 00:34
Subject:
[perl #127894] -DDEBUGGING -Dusequadmath -Dusethreads builds crashearly
Message ID:
rt-4.0.18-30045-1461112469-1757.127894-15-0@perl.org
On Thu Apr 14 12:33:04 2016, ilmari wrote:
> Instead of having to modify this every time a new NV type comes along,
> why not make the check use $nvtype instead?
> 
> diff --git a/Configure b/Configure
> index ff864b0..2f4ffcc 100755
> --- a/Configure
> +++ b/Configure
> @@ -20164,20 +20164,11 @@ eval $inlibc
>  echo " "
>  case "$alignbytes" in
>      '') echo "Checking alignment constraints..." >&4
> -    if $test "X$uselongdouble" = Xdefine -a "X$d_longdbl" = Xdefine; then
> -        $cat >try.c <<'EOCP'
> -typedef long double NV;
> -EOCP
> -       else
> -           $cat >try.c <<'EOCP'
> -typedef double NV;
> -EOCP
> -       fi
> -       $cat >>try.c <<'EOCP'
> +       $cat >try.c <<EOCP
>  #include <stdio.h>
>  struct foobar {
>      char foo;
> -    NV bar;
> +    $nvtype bar;
>  } try_algn;
>  int main()
>  {

Good point, applied as ab462c7d2da3570ffe26e717642be96cccef8b23.

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=127894



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About