I have defined some types using typedef in a headerfile, but when I include that header file in an other one, I have to typedef them again. They are recognized in intellisense, but I get the error
error C2653: ' is not a class or namespace name
if I don't define them again.
they are defined outside of any class or function.
Does anyone know why this happens? Shouldn't it be enough to define them in just one header file?