-
Before I create an issue, I want to find out if I'm doing something wrong and if this is a CDT bug or not. After I "Apply and Close", my project builds without errors. The same thing happens if I define the symbol in C/C++ General -> Paths and Symbols under # Symbols. Does anybody else have a similar problem and know how to solve this? Eclipse and all plugins should be up-to-date. The CDT core version is |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This sounds like a bug, but probably needs to be filed with https://github.com/eclipse-embed-cdt/eclipse-plugins/issues? I assume you have those plug-ins installed too? Do you have any other third-party plug-ins installed? |
Beta Was this translation helpful? Give feedback.
-
Yes, I have Eclipse Embedded CDT installed. I also have other third-party plug-ins installed (see the list of them at the end of the post). I did some more testing and found out that it depends on the project type if this bug shows up or not. I used this simple "hello world" program #include <stdio.h>
#ifdef TEST_DEFINE
int main(void)
{
printf("Hello Arm World!" "\n");
return 0;
}
#endif to create 4 different projects (test1 ... test4) with different project types and toolchains. All of them were CDT managed C builds. The problem with the preprocessor symbol being dropped after refresh or Eclipse restart only appeared in the project test4 (CMSIS C/C++ Project). This possibly means that the problem is caused by the CMSIS-Pack Eclipse plug-in. Edit: My installed Eclipse plugins
|
Beta Was this translation helpful? Give feedback.
Yes, I have Eclipse Embedded CDT installed. I also have other third-party plug-ins installed (see the list of them at the end of the post).
I did some more testing and found out that it depends on the project type if this bug shows up or not. I used this simple "hello world" program
to create 4 different projects (test1 ... test4) with different project types and toolchains. All of them were CDT managed C builds.
The problem with the preprocessor symbol being dropped after refresh or Eclipse restart only appeared in the project test4 (CMSIS C/C++ Project). This possibly means tha…