Community
Participate
Working Groups
WinXp Eclipse Galileo, CDT 6.0, also Eclipse Galileo, CDT 7.0, also Eclipse Helios, CDT 7.0, also Eclipse Helios, CDT 8.0 We use Eclipse to edit C files for embedded project. Sometimes we have function like: static void near func(void); It seems Eclipse can't parser this function, it showes "syntax error", F3 don't work, Ctrl+Left dont't work and the outline don't work also. As soon as i remove "near", eveything is fine. So how can i tell Eclipse to treat this function as a normal one? Thanks a lot guys, you are the best!!! :) Mike
Also, eclipse can't recognize "far" - i've tried this just before.
The concept 'near' and 'far' is not part of the c-standard, is it? I assume that these identifiers are mapped to some __attribute__ syntax via macro defintions either provided in an include file, on command line or built into the compiler. --> You need to make sure that the indexer is configured correctly. As a workaround you can specify 'far' and 'near' on the 'C/C++ General - Path's and Symbols - Symbols' page as empty macros.
Hi, Markus, thanks ... again. It works. I love you guys Mike