John Maddock writes:
I've no idea frankly *why* the compiler finds those types, but it certainly
does do so - please take a look at the reduced test case in the bug report.
Your example builds fine with gcc 4.7.2 and VS 10 on my windows box.
Gennadiy