I'm trying to configure Eclipse for developing Linux Kernel Modules under Ubuntu. So far I've added to Properties > Paths and Symbols > Includes > GNU C headers from directory /usr/src/'uname -r'/include but it doesn't remove all the Syntax error from my code.
After that, my code looks like this:
What else should I do to develop Kernel modules with pleasure?
解决方案
If you're interested, those orange squigglies are actually indexer markers. Turn them off by going to window/preferences/general/editors/text editors/annotations, select c/c++indexer markers and uncheck 'text as'.