Compile Error after updating Keil (uVersion) to V5.40.0 from V5.37.0

Hi,

After I updated Keil from uVersion 5.37.0 to 5.40.0, I got the following error:

Build started: Project: FPIE-4K
*** Using Compiler 'V5.06 update 2 (build 183)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'FPIE'
compiling Exec.c...
C:\Keil_v5\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error: #35: #error directive: Unknown compiler.
#error Unknown compiler.
Exec\Exec.c: 0 warnings, 1 error
compiling System.c...
C:\Keil_v5\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error: #35: #error directive: Unknown compiler.
#error Unknown compiler.
Control\System.c: 0 warnings, 1 error

I'm compiling the same project (FPIE-4K) with 5.40.0 as I did with 5.37.0.

Any suggestion on the compile error?

Thanks

David