/home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/include/c++/5.5.0/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
I assumed g++ 5.5.0 should already have c++11 support. What could I be missing? Thanks
Hi,
I'm getting the following issue when running
> cmake --build . --config DEBUG -- -j4
> /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/include/c++/5.5.0/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
I assumed g++ 5.5.0 should already have c++11 support. What could I be missing? Thanks
Hi @bardao, will check shortly. I'm using gcc 8 and higher for tests. But have feeling that for gcc-5.x.x c++11 is not enabled by default as for later versions. So will enable it forcefully. One more thing, this repo is internal mirro for microjson. It's better to use github https://github.com/semlanik/microjson. Thank you!
Hi @bardao, will check shortly. I'm using gcc 8 and higher for tests. But have feeling that for gcc-5.x.x c++11 is not enabled by default as for later versions. So will enable it forcefully. One more thing, this repo is internal mirro for microjson. It's better to use github https://github.com/semlanik/microjson. Thank you!
Hi,
I'm getting the following issue when running
I assumed g++ 5.5.0 should already have c++11 support. What could I be missing? Thanks
Hi @bardao, will check shortly. I'm using gcc 8 and higher for tests. But have feeling that for gcc-5.x.x c++11 is not enabled by default as for later versions. So will enable it forcefully. One more thing, this repo is internal mirro for microjson. It's better to use github https://github.com/semlanik/microjson. Thank you!
@bardao, fixed
37f8b9b997