Skip to content

Fix build - #307

Open
bkuhls wants to merge 1 commit into
boostorg:developfrom
bkuhls:fix
Open

bkuhls wants to merge 1 commit into
boostorg:developfrom
bkuhls:fix

Conversation

@bkuhls

@bkuhls bkuhls commented Sep 13, 2026

Copy link
Copy Markdown

The build errors were found with gcc-15.3.0/uClibc-ng/x86_64 by the Gitlab pipelines of the buildroot project:
https://gitlab.com/bkuhls/buildroot/-/jobs/16471960148

In file included from ./boost/charconv/detail/fast_float/fast_float.hpp:11,
 from output/build/boost-1.92.0/libs/charconv/build/../src/from_chars.cpp:16:
./boost/charconv/detail/fast_float/float_common.hpp:349:20: error: conflicting declaration ‘constexpr const boost::uint64_t boost::charconv::detail::fast_float::binary_format_lookup_tables<double, U>::max_mantissa []’ [-Wtemplate-body]
  349 | constexpr uint64_t binary_format_lookup_tables<double, U>::max_mantissa[];

./boost/charconv/detail/fast_float/float_common.hpp:318:34: note: previous declaration as ‘constexpr const uint64_t boost::charconv::detail::fast_float::binary_format_lookup_tables<double, U>::max_mantissa [24]’
  318 |   static constexpr std::uint64_t max_mantissa[] = {

In file included from ./boost/charconv/detail/fast_float/fast_float.hpp:11,
 from output/build/boost-1.92.0/libs/charconv/build/../src/from_chars.cpp:16:
./boost/charconv/detail/fast_float/float_common.hpp:349:20: error: conflicting declaration ‘constexpr const boost::uint64_t boost::charconv::detail::fast_float::binary_format_lookup_tables<double, U>::max_mantissa []’ [-Wtemplate-body]
  349 | constexpr uint64_t binary_format_lookup_tables<double, U>::max_mantissa[];

./boost/charconv/detail/fast_float/float_common.hpp:318:34: note: previous declaration as ‘constexpr const uint64_t boost::charconv::detail::fast_float::binary_format_lookup_tables<double, U>::max_mantissa [24]’
  318 |   static constexpr std::uint64_t max_mantissa[] = {

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
@codecov

codecov Bot commented Sep 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.87%. Comparing base (39874c7) to head (22d487b).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #307   +/-   ##
========================================
  Coverage    94.87%   94.87%           
========================================
  Files           75       75           
  Lines         9039     9039           
========================================
  Hits          8576     8576           
  Misses         463      463           
Files with missing lines Coverage Δ
.../boost/charconv/detail/fast_float/float_common.hpp 88.69% <ø> (ø)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 39874c7...22d487b. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant