Thanks Greg. I updated the all the libs and exes and now it throws the same error, except instead of it says that you have to enable c++0x or g++0x, it instead says c++11 or g++11. Like this:

 #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

I tried again adding those to the command line but no joy. I'm guessing MinGW simply doesn't support C++11 array class? *shrug*


> Date: Mon, 29 Oct 2012 01:36:37 +0000
> From: gchicares@sbcglobal.net
> To: mingw-users@lists.sourceforge.net
> Subject: Re: [Mingw-users] Is MinGW able to use the C++11 Array Class?
>
> On 2012-10-28 23:46Z, Ray Boyer wrote:
> [...]
> > c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\include\c++\c++0x_warning.h|31|error:
>
> gcc-4.4.1 is several years old; gcc-4.7 is available:
> http://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/
> so try that first.