Describe the bug
The nlohmann json header has different behavior while switching compiler between GCC and Clang. The current code within Extended Vehicle AA now only works with GCC.
To Reproduce
Switch the compiler to Clang, compile the source and launch the application after the compile. Type an invalid API key and then an invalid access token when the application ask for it at the startup. Then, you will notice that the Extended Vehicle AA will crash.
Expected behavior
The setting VIN logic should be compiler independent.
Additional context (please complete the following information):
Describe the bug The
nlohmann json
header has different behavior while switching compiler between GCC and Clang. The current code withinExtended Vehicle AA
now only works with GCC.To Reproduce Switch the compiler to Clang, compile the source and launch the application after the compile. Type an invalid API key and then an invalid access token when the application ask for it at the startup. Then, you will notice that the
Extended Vehicle AA
will crash.Expected behavior The setting VIN logic should be compiler independent.
Additional context (please complete the following information):