Eclipse CDT too many semantic errors

If you have too many “semantic error” in eclipse CDT, such like this
semantic error 2

 

You can switch it off in project properties but unblock “Syntax and Semantic Errors”

semantic error 1