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
When i am trying to compile the vsomeip library in gcc 9.4.0 (ubuntu 9.4.0-1ubuntu1~20.04.2) i am able to compile vsomeip with below mentioned commands:- cd vsomeip
rm -rf build
mkdir build
cd build
cmake ..
make -j $(nproc)
make install
it is compiling without throwing any error.
But when i try to run the same set of command in gcc version 12.2.0(Debian 12.2.0-14) , i am getting the error for which i have attached the screenshots.
ERROR: inlined from 'bool vsomeip_v3::policy::deserialize(const vsomeip_v3::byte_t&, uint32_t&)' at /tmp/vsomeip/implementation/security/src/policy.cpp:71:23:
/usr/include/boost/icl/detail/interval_set_algo.hpp:358:5: error: writing 9 bytes into a region of size 8 [-Werror=stringop-overflow=]
358 | const_cast<value_type&>(key_value(first_))*
Reproduction Steps
cd vsomeip
rm -rf build
mkdir build
cd build
cmake ..
make -j $(nproc)
make install
Expected behaviour
It should build successfully.
Logs and Screenshots
The text was updated successfully, but these errors were encountered:
vSomeip Version
#6c0e9db
Boost Version
1.74
Environment
GCC version 12.2.0 (debian 12.2.0-14)
Describe the bug
When i am trying to compile the vsomeip library in gcc 9.4.0 (ubuntu 9.4.0-1ubuntu1~20.04.2) i am able to compile vsomeip with below mentioned commands:-
cd vsomeip
rm -rf build
mkdir build
cd build
cmake ..
make -j $(nproc)
make install
it is compiling without throwing any error.
But when i try to run the same set of command in gcc version 12.2.0(Debian 12.2.0-14) , i am getting the error for which i have attached the screenshots.
ERROR:
inlined from 'bool vsomeip_v3::policy::deserialize(const vsomeip_v3::byte_t&, uint32_t&)' at /tmp/vsomeip/implementation/security/src/policy.cpp:71:23:
/usr/include/boost/icl/detail/interval_set_algo.hpp:358:5: error: writing 9 bytes into a region of size 8 [-Werror=stringop-overflow=]
358 | const_cast<value_type&>(key_value(first_))*
Reproduction Steps
cd vsomeip
rm -rf build
mkdir build
cd build
cmake ..
make -j $(nproc)
make install
Expected behaviour
It should build successfully.
Logs and Screenshots
The text was updated successfully, but these errors were encountered: