0

how to fix error?

||unrecognized command line option "-std=c++11"| in codeblocks

25th Mar 2018, 1:55 AM
Frankestine Stine
Frankestine Stine - avatar
1 Odpowiedź
+ 6
Navigate Settings -> Compiler From the drop-down menu labelled Selected compiler, select the GNU GCC compiler On the tab-panel below, select Compiler settings -> Compiler flags From the drop-down menu labelled "Categories", select <All categories>. Look down the check-box list of compiler options until you see: Have g++ follow the C++11 ISO C++ language standard [-std=c++11] If that check-box is unchecked then check it and now try to rebuild.
25th Mar 2018, 3:40 AM
Tanay
Tanay - avatar