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

cpp/sopt/config.in.h: Add the missing #include <cstdint> #417

Closed

Conversation

AdrianBunk
Copy link

This fixes a build failure with gcc 13:

In file included from /build/1st/sopt-3.0.1+dfsg/cpp/sopt/../sopt/mpi/session.h:4,
                 from /build/1st/sopt-3.0.1+dfsg/cpp/sopt/mpi/session.cc:1:
/build/1st/sopt-3.0.1+dfsg/obj-x86_64-linux-gnu/include/sopt/config.h:32:19: error: 'uint8_t' was not declared in this scope
   32 | inline std::tuple<uint8_t, uint8_t, uint8_t> version_tuple() {
      |                   ^~~~~~~
/build/1st/sopt-3.0.1+dfsg/obj-x86_64-linux-gnu/include/sopt/config.h:27:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   26 | #include <tuple>
  +++ |+#include <cstdint>
   27 | 

@20DM
Copy link
Collaborator

20DM commented Oct 18, 2024

Apologies, this has dropped off the radar for so long. It looks like this got fixed via another PR in the meantime now, but thanks for this nevertheless!

@20DM 20DM closed this Oct 18, 2024
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