6 years, 10 months ago.

use iar system 8.11 . recompile ,found error ;(use iar 7.60 compile is ok) what reason?

Compile [ 71.1%]: mbed_retarget.cpp [Error] mbed_retarget.cpp@916,47: [Pe393]: pointer to incomplete class type is not allowed [ERROR] _file->_Mode = (unsigned short)(_file->_Mode & ~ 0x1000);/* Unset read mode */ ^ "D:\SMeshStudioIDE\mbed-os-example-wifi\mbed-os\platform\mbed_retarget.cpp",916 Error[Pe393]: pointer to incomplete class type is not allowed

_file->_Mode = (unsigned short)(_file->_Mode & ~ 0x1000);/* Unset read mode */ ^ "D:\SMeshStudioIDE\mbed-os-example-wifi\mbed-os\platform\mbed_retarget.cpp",916 Error[Pe393]: pointer to incomplete class type is not allowed

_file->_Rend = _file->_Wend;

1 Answer

6 years, 10 months ago.

Hi there,

Currently IAR EWARM versions older (or newer) than 7.8 are not compatible with the mbed tools. This information can also be viewed here: https://github.com/ARMmbed/mbed-cli#through-mbed_settingspy

- Jenny

Accepted Answer