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 06: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 06:18]

Report message to a moderator

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


Current Time: Mon Oct 20 04:30:02 GMT 2014

Powered by FUDForum. Page generated in 0.03100 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software