bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fails to build with Clang 10


From: Dr . Jürgen Sauermann
Subject: Re: Fails to build with Clang 10
Date: Mon, 16 Mar 2020 11:55:21 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hi Alexey,

thanks for reporting this. Supposedly fixed in SVN 1244.

Best regards,
Jürgen


On 3/16/20 5:16 AM, Alexey Dokuchaev wrote:
Hi,

Recently FreeBSD switched its default compiler to Clang, and now GNU APL
v1.8 does not build due to this:

  ...
  NumericCell.cc:1405:27: error: implicit conversion from 'long long' to
  'double' changes value from 9223372036854775807 to 9223372036854775808
  [-Werror,-Wimplicit-int-float-conversion]
     if (is_float_cell() && 0x7FFFFFFFFFFFFFFFLL < get_real_value())
                            ^~~~~~~~~~~~~~~~~~~~ ~
  1 error generated.

Any idea how to properly fix this?

./danfe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]