-
Notifications
You must be signed in to change notification settings - Fork 731
Add stdint import for GCC 15 #890
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
base: master
Are you sure you want to change the base?
Conversation
@arctic-alpaca can you please look at the small change to the PR? thanks! |
@duartenfonseca I'm not sure what you are referring to, could you elaborate? I don't see any comments on the PR besides yours (review or otherwise). |
@arctic-alpaca the reason was to use the c++ version of the same lib. I am the maintainer and was looking to merge this PR |
interface/vsomeip/plugin.hpp
Outdated
#include <stdint.h> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#include <stdint.h> | |
#include <cstdint> | |
@@ -8,6 +8,7 @@ | |||
|
|||
#include <string> | |||
#include <memory> | |||
#include <stdint.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#include <stdint.h> | |
#include <cstdint> |
@arctic-alpaca now i understood what you were saying. i didn't submit the review, it was still ongoing. sorry! |
GCC 15 requires stdint.h to be explicitly imported: https://gcc.gnu.org/gcc-15/porting_to.html#header-dep-changes
@duartenfonseca I see 😃 The PR is using the C++ import now. |
Hi,
I'm using the newly released Fedora 42, which ships GCC 15 already, and encountered build errors. The errors are caused by GCC 15 requiring
stdint.h
to be explicitly imported (link):This PR adds the required imports.
Build errors