Executing tests with the conversion toolchain results in an `array initialization needs curly braces` error.
In CT 2024.06, the GCC compiler provided by the conversion toolchain does not allow array initialization without curly braces. The source code must be modified so that arrays are defined using curly braces.
- Save after modifying the source code
static CustomType g_initialValue = 0u;
->static CustomType g_initialValue = { 0u };
- Reanalyze and execute the test.
Need more help with this?
Don’t hesitate to contact us here.