-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Description
Exported example application https://github.com/ARMmbed/mbed-os-example-mesh-minimal fails to build using Keil uvision5.
Steps to reproduce:
- Install Keil uvision5 that supports ARMC6 compiler >= 6.11
- Clone https://github.com/ARMmbed/mbed-os-example-mesh-minimal
- Run
mbed deploy
- Change mbed-os revision to
master
ormbed-os-5.12.0-rc4
- Export project
mbed export -i uvision6 -m k64f
- In Keil uvision5
Project
menu runBuild Target
command - Observe results
Expected result:
- Application can be build successfully
Actual result:
Build fails with lot of errors:
".\BUILD\mbed-os-example-mesh-minimal.axf" - 1117 Error(s), 89 Warning(s).
There seems to be clashing file mbed-os/features/storage/FEATURE_STORAGE/cfstore\version
that is accidentally build in:
mbed-os/drivers/AnalogIn.cpp(18): warning: In file included from... mbed-os\drivers/AnalogIn.h(25): warning: In file included from... mbed-os\platform/SingletonPtr.h(29): warning: In file included from... C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\libcxx\new(84): warning: In file included from... C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\libcxx\exception(82): warning: In file included from... C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\libcxx\type_traits(406): warning: In file included from... mbed-os/features/storage/FEATURE_STORAGE/cfstore\version(1): error: expected unqualified-id { ^
If file mbed-os/features/storage/FEATURE_STORAGE/cfstore\version
is cleared then build succeeds.
Issue request type
[ ] Question
[ ] Enhancement
[x] Bug