Type name not allowed

maybe this link will help in finding the issue?
How to use linetrace in c++