https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97484

Abderraouf Bousri <Abderraouf.bousri at g dot enp.edu.dz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Abderraouf.bousri at g dot 
enp.edu
                   |                            |.dz

--- Comment #6 from Abderraouf Bousri <Abderraouf.bousri at g dot enp.edu.dz> 
---
yes you are right, it was generating that error when i tried to compile with
those configurations :

CMAKE_CXX_STANDARD 17   and g++ (8.0, 9.0, 10.0 and 12), also i tried with
visual studio and Ninja.

i changed the flag to c++14, now it works (with g++ 8.0) :
    set(CMAKE_CXX_STANDARD 14)  #in your CMakeLists.txt
run this cmake command on windows : 
    cmake -G "MinGW Makefiles" -D CMAKE_CXX_COMPILER=g++ ..

Reply via email to