Clion 22.3 using g++12 and gdb can not compile
I'm on 2019 imac with big sur, in order to use the c++ 14 so I brew install gcc with gcc 12, and set the toolchian as in screenshot
but when I compile it give me such error
and if I change the GCC path to usr/bin/gcc/ , clion looks not using g++12 and give
I can compile in terminal with GCC command and cxx 14
Please sign in to leave a comment.
Hello!
>and if I change the GCC path to usr/bin/gcc/ , clion looks not using g++12
/usr/bin/gcc most probably is clang, you can check that by executing /usr/bin/gcc --version in terminal.
>I can compile in terminal with GCC command and cxx 14
Do you build this particular project? How exactly do you build it?