VS2017 is showing fake errors

if it is so bothering you, why don’t you turn off intellisence? You can use Visual Assist instead.