Closed JackChen080808 closed 5 months ago
the compiler is gcc 13.2.0
The error is not related to this project but the DoIP-Lib project. Because the mentioned compiler is not supported, I only can assume that including <array>
header at routing_activation_request_test.cpp
in that project may solve the issue. Further than that, I cannot help anymore.
Yes, it belongs to DoIP project. Thanks a lot for support and help. Although it seems not to work with including
with include array.
/home/jack/codebase/Adaptive-AUTOSAR/build/_deps/doip-lib-src/test/routing_activation_request_test.cpp: In member function ‘virtual void DoipLib::RoutingActivationRequestTest_SerializationWithoutOemData_Test::TestBody()’: /home/jack/codebase/Adaptive-AUTOSAR/build/_deps/doip-lib-src/test/routing_activation_request_test.cpp:14:51: error: variable ‘const std::array<unsigned char, 15> cExpectedResult’ has initializer but incomplete type 14 | const std::array<uint8_t, cPayloadLength> cExpectedResult{
The info aboval shows the detail of the error. Please help give solution.
THanks Jack