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 build against gcc-13 (missint <cstdint> include) #371

Closed
wants to merge 1 commit into from
Closed

Fix build against gcc-13 (missint <cstdint> include) #371

wants to merge 1 commit into from

Conversation

trofi
Copy link

@trofi trofi commented Feb 10, 2024

Without the change build fails as:

[  1%] Building CXX object CMakeFiles/reactphysics3d.dir/src/body/CollisionBody.cpp.o
In file included from /build/source/include/reactphysics3d/engine/Entity.h:30,
                 from /build/source/include/reactphysics3d/body/CollisionBody.h:31,
                 from /build/source/src/body/CollisionBody.cpp:27:
/build/source/include/reactphysics3d/configuration.h:68:19: error: 'int8_t' in namespace 'std' does not name a type; did you mean 'wint_t'?
   68 | using int8 = std::int8_t;
      |                   ^~~~~~
      |                   wint_t

Without the change build fails as:

    [  1%] Building CXX object CMakeFiles/reactphysics3d.dir/src/body/CollisionBody.cpp.o
    In file included from /build/source/include/reactphysics3d/engine/Entity.h:30,
                     from /build/source/include/reactphysics3d/body/CollisionBody.h:31,
                     from /build/source/src/body/CollisionBody.cpp:27:
    /build/source/include/reactphysics3d/configuration.h:68:19: error: 'int8_t' in namespace 'std' does not name a type; did you mean 'wint_t'?
       68 | using int8 = std::int8_t;
          |                   ^~~~~~
          |                   wint_t
@DanielChappuis
Copy link
Owner

Thanks a lot for your pull request. However, I have already merged this pull request into the 'develo' branch that takes care of the same issue.

Therefore I will not merge this one but thanks anyway.

@trofi trofi deleted the gcc-13-fix branch February 28, 2024 09:58
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