Eclipse show problems but compiles

I run Ubuntu 20.04, trying some samples from CUDA 11.3 it looks that eclipse is not able to index every header included. It all compiles but I cannot go to Definition of very common functions such as those included in cuda_helper.h.
Plus I get tens of problems (which really are not, since it compiles).

I tried rebuilding the index but it didn’t solve the issue.

Strangely it doesn’t happen for all the samples, fluidGL for example works fine.