The following fails to compile:
template< class T > struct TemplateStruct;
template< class T >
Need to be sure you are using c++ or g++ in order to verify that this is a problem. GCC does not fully support c++. Also, verify that you are using latest libstdc++ release. Versions prior to v3 are no longer considered supportable.
Also, g++ is not part of Mingw maintenance. This bug-report list is only for Mingw related bugs. Template problems such as those noted here do not qualify. You can find full support for g++ v3 by going to the gnu C++ development page.
This is not a Mingw problem.
Logged In: YES
This compiles with GCC 3.1 so the bug can be closed (I don't
have permission to do this).