[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fails to build with Clang 10
From: |
Alexey Dokuchaev |
Subject: |
Fails to build with Clang 10 |
Date: |
Mon, 16 Mar 2020 11:16:48 +0700 |
User-agent: |
Mutt/1.4.2.1i |
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
- Fails to build with Clang 10,
Alexey Dokuchaev <=