I used to compile a programme successfully about a year back, but when I tried now, it failed. Error was: ========== warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default] ssigning to an array from an initializer list make[2]: *** [lib/Elements/CMakeFiles/elt.dir/axisymm.cpp.o] Error 1 ========== More is below signature. The programme is: https://github.com/pavossos/felt I guess, it is because of version of gcc. May someone tell me what to change where to make compilation successful, without changing code. Do I need to make -std=c++0x default? If yes, how when we are using cmake. -- H.S.Rai $ make [ 1%] Building CXX object lib/Elements/CMakeFiles/elt.dir/axisymm.cpp.o /home/tcc/Downloads/Ghai/pavossos-felt-2a816a3/lib/Elements/axisymm.cpp: In function ‘void axisymmetricInit()’: /home/tcc/Downloads/Ghai/pavossos-felt-2a816a3/lib/Elements/axisymm.cpp:52:36: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default] /home/tcc/Downloads/Ghai/pavossos-felt-2a816a3/lib/Elements/axisymm.cpp:52:36: error: assigning to an array from an initializer list make[2]: *** [lib/Elements/CMakeFiles/elt.dir/axisymm.cpp.o] Error 1 make[1]: *** [lib/Elements/CMakeFiles/elt.dir/all] Error 2 make: *** [all] Error 2