c++ - MinGW g++ 4.8.1-4 doesn't recognize -std=c++14 -


i installed mingw following home page sourceforge , using mingw-get-setup.exe. installed g++ 4.8.1-4. gcc 4.8 supposed to support c++14 command-line switch, "unrecognized option" error.

is bug mingw? gcc? can it? since know ask, want c++14 for-each loops. i'm using iterators now, for-each improve both readability , writability.

edit: found out g++ build supports c++11, can use for-each. still no luck on c++14 support.

g++ 4.8 not support c++14, mingw quite outdated when there more new versions of gcc.

alternatives can use

if want use c++11 or c++14 on windows gcc should using 1 of following options:


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -