Skip to content

Preprocessor symbols disappear after project refresh or Eclipse restart #261

Answered by midiwidi
midiwidi asked this question in Q&A
Discussion options

You must be logged in to vote

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 tha…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jonahgraham
Comment options

Answer selected by midiwidi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants