error: use of undeclared identifier 'assert'
I have a working code generated with STM32CUBEMX and TouchGFX 4.17, which I compiled with Keil using ARM compiler version 5. Now, we have updated the setup, and while trying to compile the code with ARM compiler version 6, Keil throws an error saying 'error: use of undeclared identifier 'assert''. This error occurs in more than 2000+ files related to TouchGFX.
I checked the files where it is throwing errors, and each file has a header #include <touchgfx/hal/Types.hpp>. In the file Types.hpp, the following headers are included:
#include <assert.h>
#include <stdint.h>
#include <touchgfx/hal/Config.hpp>
I went through the following articles, but the error still persists. How can I resolve this issue?
https://developer.arm.com/documentation/ka004216/latest/
