我将gcc工程,移植到IAR Embedded Workbench中遇到一系列的错误提示,其中一个是Error[Pe065]: expected a ";" 提示错误的位置为如下语句,请问我应该怎么修改?
typedef int ERROR_CantUseEvilMethod[sizeof(GenericClass *)==sizeof(function_to_bind) ? 1 : -1] __attribute((unused));
还有这个错误
Error[Pe020]: identifier "unused" is undefined C:\STM32F4\Demo\User\AP_HAL\utility\FastDelegate.h 179