Errors with MinGW in Code::Blocks

There are some errors when building with Code::Blocks using MinGW. There's a solution from someone in the link below and I have verified that it works. It would be great if this could be fixed in JUCE itself.

Thanks Jordan - yes, I saw this and will sort it out today..