This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to get rid of __ALIGN(4) syntax error in Eclipse?

Hello,

I'm working with FDS and I have declared a variable like this:

__ALIGN(4) static uint32_t data;

My code compiles and works correctly but Eclipse complains about the __ALIGN(4) and highlights it as a syntax error and shows errors everywhere where I use that variable, which is very frustrating.

I know this is an Eclipse issue, but I'd really appreciate it if someone could help me get rid of that annoying error. Is there any file I can include or anything I can do about it?

Related