visual studio incomplete type is not allowed