keil:Warning: Registered ARM Compiler ignored, Version needs to be 5 or who. Path: 'ARMCC'!

每次打开kelil会出现Warning: Registered ARM Compiler ignored, Version needs to be 5 or who. Path: 'ARMCC'!要点2次确定才能结束

keil:Warning: Registered ARM Compiler ignored, Version needs to be 5 or who. Path: 'ARMCC'!

 

Build target 'Target 1'
assembling startup_stm32f40_41xxx.s...
startup_stm32f40_41xxx.s: Error: A9517E: Parsing error: Info GenerationDate specifies date which is in the future (C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap:10)
startup_stm32f40_41xxx.s: Error: A9517E: Parsing error: Info GenerationDate specifies date which is in the future (C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap:10)
startup_stm32f40_41xxx.s: Product: unknown
startup_stm32f40_41xxx.s: Component: unknown
startup_stm32f40_41xxx.s: Tool: ArmAsm [4d0efa]
"..\OBJ\TEST.axf" - 2 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:01
 

解决方法:

系统时间不对,原先是2002年.现在改成2019年问题就完全解决了. 因为我电脑太老了,主板电池没电了,后来还是改了.然后后来再打开keil发现没有提示了,编译也通过了,然后我把系统时间改成2002年.问题又出现了,再改再改成2019年又没问题了,,最后得出结论是系统时间不对,。