Skip to content

Can't compile with IAR against mbed-OS 5.6.0 RC1 #62

@JanneKiiskila

Description

@JanneKiiskila

One can't compile against the mbed OS 5.6.0 RC1.

09:47:56 [UBLOX_EVK_ODIN_W2_LWIP4 IAR] Compile [ 97.6%]: SDBlockDevice.cpp
09:47:56 [UBLOX_EVK_ODIN_W2_LWIP4 IAR] [Error] SDBlockDevice.cpp@152,3: [Pe018]: expected a ")"
09:47:56 [UBLOX_EVK_ODIN_W2_LWIP4 IAR] [Fatal Error] SDBlockDevice.cpp@153,0: [Pe035]: #error directive: "Incompatible mbed-os version detected! Required 5.5.4 and above"
09:47:57 [UBLOX_EVK_ODIN_W2_LWIP4 IAR] [ERROR] 
09:47:57 [UBLOX_EVK_ODIN_W2_LWIP4 IAR]   #if (MBED_VERSION < MBED_ENCODE_VERSION(5,5,4))
09:47:57 [UBLOX_EVK_ODIN_W2_LWIP4 IAR]        ^
09:47:57 [UBLOX_EVK_ODIN_W2_LWIP4 IAR] "C:\builds\ws\app_PR-545-PPVBV4HCVIU2SIBUWGKPS\mbed-client-testapp\sd-driver\SDBlockDevice.cpp",152  Error[Pe018]: expected a ")"
09:47:57 [UBLOX_EVK_ODIN_W2_LWIP4 IAR] 
09:47:57 [UBLOX_EVK_ODIN_W2_LWIP4 IAR]   #error "Incompatible mbed-os version detected! Required 5.5.4 and above"
09:47:57 [UBLOX_EVK_ODIN_W2_LWIP4 IAR]    ^
09:47:57 [UBLOX_EVK_ODIN_W2_LWIP4 IAR] "C:\builds\ws\app_PR-545-PPVBV4HCVIU2SIBUWGKPS\mbed-client-testapp\sd-driver\SDBlockDevice.cpp",153  Fatal error[Pe035]: #error directive: "Incompatible mbed-os version detected! Required 5.5.4 and above"
09:47:57 [UBLOX_EVK_ODIN_W2_LWIP4 IAR] Fatal error detected, aborting.

This needs to be fixed ASAP.

mbed-os.lib pointing to:

https://github.com/ARMmbed/mbed-os/#a4056fb8bf3ee10b8e037d332f8fbd0c68169ef1

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions