Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

headers using std::int8_t et al. include <csdint>. #2682

Merged
merged 1 commit into from
May 15, 2023

Conversation

klemens-morgenstern
Copy link
Collaborator

Implements #2676 .

@ednolan can you confirm this does it?

@cppalliance-bot
Copy link

pullrequest
Timeline tracing charts: https://2682.beast.tracing.cppalliance.org/index.html

@codecov
Copy link

codecov bot commented May 12, 2023

Codecov Report

Merging #2682 (8ff6521) into develop (e65aff4) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #2682   +/-   ##
========================================
  Coverage    92.97%   92.97%           
========================================
  Files          177      177           
  Lines        13658    13658           
========================================
  Hits         12698    12698           
  Misses         960      960           
Impacted Files Coverage Δ
include/boost/beast/http/basic_parser.hpp 94.11% <ø> (ø)
include/boost/beast/http/buffer_body.hpp 88.63% <ø> (ø)
include/boost/beast/http/detail/rfc7230.hpp 100.00% <ø> (ø)
include/boost/beast/http/empty_body.hpp 85.71% <ø> (ø)
include/boost/beast/http/impl/field.ipp 97.64% <ø> (ø)
include/boost/beast/http/parser.hpp 86.95% <ø> (ø)

Continue to review full report in Codecov by Sentry.

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

@klemens-morgenstern klemens-morgenstern merged commit cd6b79d into boostorg:develop May 15, 2023
intelliot pushed a commit to XRPLF/rippled that referenced this pull request Dec 1, 2023
Workaround for compilation errors with gcc-13 and other compilers
relying on `libstdc++` version 13. This is temporary until actual fix is
available for us to use: boostorg/beast#2682

Some boost.beast files (which we do use) rely on an old gcc-12 behaviour
where `#include <cstdint>` was not needed even though types from this
header were used. This was broken by a change in libstdc++ version 13:
https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

The necessary fix was implemented in boost.beast, however it is not yet
available. Until it is available, we can use this workaround to enable
compilation of `rippled` with gcc-13, clang-16, etc.
sophiax851 pushed a commit to sophiax851/rippled that referenced this pull request Jun 12, 2024
Workaround for compilation errors with gcc-13 and other compilers
relying on `libstdc++` version 13. This is temporary until actual fix is
available for us to use: boostorg/beast#2682

Some boost.beast files (which we do use) rely on an old gcc-12 behaviour
where `#include <cstdint>` was not needed even though types from this
header were used. This was broken by a change in libstdc++ version 13:
https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

The necessary fix was implemented in boost.beast, however it is not yet
available. Until it is available, we can use this workaround to enable
compilation of `rippled` with gcc-13, clang-16, etc.
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.

3 participants