AnsweredAssumed Answered

How to describe 'naked' attribute function on IAR?

Question asked by Yasuhiko Koumoto on Feb 13, 2015
Latest reply on Feb 14, 2015 by Yasuhiko Koumoto

Hello IAR EWARM experts,

I posted this issue to the ARM Connected Community but have not been received any responses.

Therefore I would like to post to this site.

 

I would like to know how to describe a naked attribute function.

The code was compiled successfully with a standalone GCC but IAR GCC could not and display the following error messages.

 

エラー[Pe079]: expected a type specifier D:\KL25 Sample Code\kl25_sc_rev10\klxx-sc-baremetal\src\projects\svc_demo\svc_demo.c 238

エラー[Pe141]: unnamed prototyped parameters not allowed when body is present D:\KL25 Sample Code\kl25_sc_rev10\klxx-sc-baremetal\src\projects\svc_demo\svc_demo.c 238

エラー[Pe130]: expected a "{" D:\KL25 Sample Code\kl25_sc_rev10\klxx-sc-baremetal\src\projects\svc_demo\svc_demo.c 238

C/C++コンパイラ 実行中のエラー

無題.png

 


Can anyone help me?

 

Thank you and best regards,

Yasuhiko Koumoto.

Outcomes