I am using CLion for a couple of days for my project.
Suddenly CLion stopped to recognize some method names from #includes and marked some includes as "unused import statements".
In fact, they are used, and they are for those methods that are now unrecognized.
However, projects builds fine.
#include <signal.h> // marked as grey (unused import statement)
signal(SIGHUP, SIG_IGN); // marked as red (can't resolve variable 'signal')
Why could that be and how to fix?