Closed
Description
Description
mbed 2 test failure on MBED_A28
GCC
Building project test (NUCLEO_F334R8, GCC_ARM)
Scan: can_loopback
Scan: mbed
Scan: env
Compile: main.cpp
[Error] main.cpp@24,14: expected constructor, destructor, or type conversion before '(' token
ARM, uARM
Building project test (NUCLEO_F334R8, uARM)
Scan: can_loopback
Scan: mbed
Scan: env
Compile: main.cpp
[Error] main.cpp@24,0: #77-D: this declaration has no storage class or type specifier
[Error] main.cpp@24,0: #20: identifier "TARGET_NUCLEO_F446ZE" is undefined
[Error] main.cpp@24,0: #65: expected a ";"
[Warning] main.cpp@29,0: #12-D: parsing restarts here after previous syntax error
IAR
Building project test (NUCLEO_F334R8, IAR)
Scan: can_loopback
Scan: mbed
Scan: env
Compile: main.cpp
[Error] main.cpp@24,16: [Pe077]: this declaration has no storage class or type specifier
[Error] main.cpp@24,38: [Pe020]: identifier "TARGET_NUCLEO_F446ZE" is undefined
[Error] main.cpp@24,22: [Pe065]: expected a ";"
Target
NUCLEO_F334R8
Toolchain:
GCC_ARM, ARM, uARM, IAR