Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » __I Syntax error
__I Syntax error [message #918573] Fri, 21 September 2012 02:15
Zhe Yin is currently offline Zhe Yin
Messages: 1
Registered: September 2012
Junior Member
I took the STM32 example project into eclipse, but there is error in system_stm32f10x.c:__I Syntax error.
__I is defined in the core_cm3.h:
#ifdef __cplusplus
#define __I volatile /*!< defines 'read only' permissions */
#else :)
#define __I volatile const /*!< defines 'read only' permissions */
#endif
system_stm32f10x.c include stm32f10x.h, stm32f10x.h include core_cm3.h.If the core_cm3.h directly included in the stm32f10x.c no mistake.Maybe environment configuration problem.Need help.Thanks a lot.
My environment:
Windows xp
Eclipse IDE for C/C++ Developers
Version: Juno Release
Build id: 20120614-1722
CodeSourcery G++ Lite

[Updated on: Fri, 21 September 2012 02:18]

Report message to a moderator

Previous Topic:Workspace crash!!
Next Topic:shared_ptr dereferencing again
Goto Forum:
  


Current Time: Wed Aug 20 08:52:25 EDT 2014

Powered by FUDForum. Page generated in 0.01526 seconds