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

fix missing include for size_t #4380

Merged
merged 1 commit into from Feb 11, 2022
Merged

fix missing include for size_t #4380

merged 1 commit into from Feb 11, 2022

Conversation

malytomas
Copy link
Contributor

gcc11 seems to have changed some internal includes:

[ 10%] Building CXX object externals/assimp/assimp/code/CMakeFiles/assimp.dir/Common/Compression.cpp.o
In file included from /home/runner/work/cage/cage/externals/assimp/assimp/code/Common/Compression.cpp:42:
/home/runner/work/cage/cage/externals/assimp/assimp/code/Common/Compression.h:73:5: error: ‘size_t’ does not name a type
   73 |     size_t decompress(unsigned char *data, size_t in, std::vector<unsigned char> &uncompressed);
      |     ^~~~~~
/home/runner/work/cage/cage/externals/assimp/assimp/code/Common/Compression.h:45:1: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
   44 | #include <vector>
  +++ |+#include <cstddef>
   45 | 

@kimkulling kimkulling merged commit 97c7e08 into assimp:master Feb 11, 2022
@kimkulling
Copy link
Member

Thanks a lot for the fix. I haven't seen that issue on my devbox!

@kimkulling kimkulling mentioned this pull request Feb 11, 2022
@malytomas malytomas deleted the tomas/fixsizet branch February 11, 2022 10:30
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.

None yet

2 participants