Skip to content

Library fails to configure BOOST_DECIMAL_LDBL bits on POWER10 correctly #1085

@mborland

Description

@mborland
gcc.compile.c++ ../../../bin.v2/libs/decimal/test/test_atan2.test/gcc-11/debug/power_64/cxxstd-17-iso/threading-multi/visibility-hidden/test_atan2.o
In file included from ../../../boost/decimal/decimal32_t.hpp:18,
                 from ../../../boost/decimal.hpp:27,
                 from test_atan2.cpp:8:
../../../boost/decimal/detail/ryu/ryu_generic_128.hpp:311:5: error: "BOOST_DECIMAL_LDBL_BITS" is not defined, evaluates to 0 [-Werror=undef]
  311 | #if BOOST_DECIMAL_LDBL_BITS == 64
      |     ^~~~~~~~~~~~~~~~~~~~~~~
../../../boost/decimal/detail/ryu/ryu_generic_128.hpp:321:7: error: "BOOST_DECIMAL_LDBL_BITS" is not defined, evaluates to 0 [-Werror=undef]
  321 | #elif BOOST_DECIMAL_LDBL_BITS == 80
      |       ^~~~~~~~~~~~~~~~~~~~~~~
../../../boost/decimal/detail/ryu/ryu_generic_128.hpp:339:7: error: "BOOST_DECIMAL_LDBL_BITS" is not defined, evaluates to 0 [-Werror=undef]
  339 | #elif BOOST_DECIMAL_LDBL_BITS == 128
      |       ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../boost/decimal/decimal32_t.hpp:25,
                 from ../../../boost/decimal.hpp:27,
                 from test_atan2.cpp:8:
../../../boost/decimal/detail/to_float.hpp:85:13: error: "BOOST_DECIMAL_LDBL_BITS" is not defined, evaluates to 0 [-Werror=undef]
   85 |         #if BOOST_DECIMAL_LDBL_BITS == 64
      |             ^~~~~~~~~~~~~~~~~~~~~~~
../../../boost/decimal/detail/to_float.hpp:87:15: error: "BOOST_DECIMAL_LDBL_BITS" is not defined, evaluates to 0 [-Werror=undef]
   87 |         #elif BOOST_DECIMAL_LDBL_BITS == 80
      |               ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../boost/decimal/detail/to_float.hpp:13,
                 from ../../../boost/decimal/decimal32_t.hpp:25,
                 from ../../../boost/decimal.hpp:27,
                 from test_atan2.cpp:8:

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions