Question:
Warning: 'typedef' was ignored in this declaration.
Answers:
Delete typedef. It's the C way of declaring structs, C++ does it automatically for you.
typedef