What is the IAR equivalent of '__attribute__ ((weak, alias (#f))) '?
问题 I was using LPC series (NXP) as control something. And now, we are switching over to another MCU (Spansion) and the compiler is from GNU to IAR. Some attribute doesn't the same between IAR and GNU, I would like to ask for help: In the past (GNU): #define ALIAS(f) __attribute__((weak, alias (#f))); #define CSV_IRQHandler(void) ALIAS(IntDefaultHandler) What is different if the compiler change to IAR? If I use the same syntax I get the error: Error[Pe130]: expected a "{" Any suggestion would be