You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The header file "interface/vsomeip/handler.hpp" uses the "std::vector" type without including the relative header file "". It compiles OK on higher versions of GCC on Ubuntu 22.04, but it is just pure luck.
The "handler.h" header should explicitly include to avoid relying on the implementational details of other headers.
Reproduction Steps
No response
Expected behaviour
No response
Logs and Screenshots
No response
The text was updated successfully, but these errors were encountered:
The compiler error appears when I tried to compile the library using javacpp(a JNI helper library).
I managed to extract the step generating the error as follows.
Put the following code inside a "test.cpp" at the root of the repository, and run command "g++ -I./interface test.cpp"
vSomeip Version
v3.4.10
Boost Version
1.7*
Environment
Ubuntu 20.04
Describe the bug
The header file "interface/vsomeip/handler.hpp" uses the "std::vector" type without including the relative header file "". It compiles OK on higher versions of GCC on Ubuntu 22.04, but it is just pure luck.
The "handler.h" header should explicitly include to avoid relying on the implementational details of other headers.
Reproduction Steps
No response
Expected behaviour
No response
Logs and Screenshots
No response
The text was updated successfully, but these errors were encountered: