$ g++ -m32 -std=gnu++11 main.cpp main.cpp:5:1: error: '[i] =' used in a GNU-style designated initializer for class 'std::array<int, 1u>' # 1 "/usr/include/c++/4.8/array" 1 3 ^
fixed
$ g++ -m32 -std=gnu++11 main.cpp c++/4.8/ array" 1 3
main.cpp:5:1: error: '[i] =' used in a GNU-style designated initializer for class 'std::array<int, 1u>'
# 1 "/usr/include/
^
fixed