Skip to content

Fix build - #1197

Open
bkuhls wants to merge 2 commits into
boostorg:developfrom
bkuhls:fix
Open

bkuhls wants to merge 2 commits 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/json/detail/charconv/detail/fast_float/fast_float.hpp:11,
                 from ./boost/json/detail/charconv/impl/from_chars.ipp:14,
                 from ./boost/json/src.hpp:59:
./boost/json/detail/charconv/detail/fast_float/float_common.hpp:307:20: error: conflicting declaration ‘constexpr const boost::uint64_t boost::json::detail::charconv::detail::fast_float::binary_format_lookup_tables<double, U>::max_mantissa []’ [-Wtemplate-body]
  307 | constexpr uint64_t binary_format_lookup_tables<double, U>::max_mantissa[];

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

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
In file included from ./boost/json/src.hpp:46,
                 from output/build/boost-1.92.0/libs/json/src/src.cpp:10:
./boost/json/impl/value_stack.ipp:435:1: error: no declaration matches ‘void boost::json::value_stack::push_int64(boost::int64_t)’
  435 | value_stack::
      | ^~~~~~~~~~~
In file included from ./boost/json/detail/handler.hpp:18,
                 from ./boost/json/parser.hpp:17,
                 from ./boost/json.hpp:28,
                 from ./boost/json/src.hpp:27:
./boost/json/value_stack.hpp:397:5: note: candidate is: ‘void boost::json::value_stack::push_int64(int64_t)’
  397 |     push_int64(
      |     ^~~~~~~~~~
./boost/json/value_stack.hpp:101:7: note: ‘class boost::json::value_stack’ defined here
  101 | class value_stack
      |       ^~~~~~~~~~~
./boost/json/impl/value_stack.ipp:443:1: error: no declaration matches ‘void boost::json::value_stack::push_uint64(boost::uint64_t)’
  443 | value_stack::
      | ^~~~~~~~~~~
./boost/json/value_stack.hpp:411:5: note: candidate is: ‘void boost::json::value_stack::push_uint64(uint64_t)’
  411 |     push_uint64(
      |     ^~~~~~~~~~~
./boost/json/value_stack.hpp:101:7: note: ‘class boost::json::value_stack’ defined here
  101 | class value_stack

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

Copy link
Copy Markdown

An automated preview of the documentation is available at https://1197.json.prtest2.cppalliance.org/libs/json/doc/html/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-09-13 22:28:38 UTC

@cppalliance-bot

Copy link
Copy Markdown

GCOVR code coverage report https://1197.json.prtest2.cppalliance.org/gcovr/index.html
LCOV code coverage report https://1197.json.prtest2.cppalliance.org/genhtml/index.html
Coverage Diff Report https://1197.json.prtest2.cppalliance.org/diff-report/index.html

Build time: 2026-09-13 22:38:16 UTC

@cppalliance-bot

Copy link
Copy Markdown

@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 93.75%. Comparing base (82398f9) to head (d51809b).
⚠️ Report is 3 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1197      +/-   ##
===========================================
+ Coverage    93.72%   93.75%   +0.02%     
===========================================
  Files           85       85              
  Lines         8981     8992      +11     
===========================================
+ Hits          8417     8430      +13     
+ Misses         564      562       -2     
Files with missing lines Coverage Δ
...detail/charconv/detail/fast_float/float_common.hpp 82.25% <ø> (ø)
include/boost/json/impl/value_stack.ipp 99.49% <ø> (ø)

... and 2 files with indirect coverage changes


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 e93cf9c...d51809b. 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.

2 participants