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

Include cstdint for compatibility with GCC 15 #538

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

pastalian
Copy link
Contributor

cstdint needs to be included explicitly since GCC 15.
https://gcc.gnu.org/gcc-15/porting_to.html

Downstream bug: https://bugs.gentoo.org/937500

$ cmake -B build -DUSE_WS=ON -DCMAKE_DISABLE_PRECOMPILE_HEADERS=OFF
$ cmake --build build
[ 93%] Building CXX object ws/CMakeFiles/ws.dir/__/third_party/msgpack11/msgpack11.cpp.o
In file included from /IXWebSocket/third_party/msgpack11/msgpack11.cpp:1:
/IXWebSocket/third_party/msgpack11/msgpack11.hpp:53:25: error: 'uint8_t' was not declared in this scope
   53 |     typedef std::vector<uint8_t> binary;
      |                         ^~~~~~~

@bsergean bsergean merged commit 8115594 into machinezone:master Jan 23, 2025
7 checks passed
@bsergean
Copy link
Collaborator

thanks !

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