Cannot get compiler information


since I updated CLion to the latest version CLion 2023.3.1
Build #CL-233.11799.287, built on December 11, 2023 on MacOS 14.1

I always get “Cannot get compiler information” as an error if I try to load my Makefile for a QT project.

The project compiles fine with QTCreator or using the terminal using GCC-13 using g++.

That's the error message:

Compiler exited with error code 1: /opt/homebrew/bin/g++-13 -xc++ -c -pipe -Wno-unused-parameter -Wno-implicit-fallthrough -fno-pic -Ofast -std=c++0x -pthread -O2 -std=gnu++11 -arch -Wall -Wextra -fPIC -DREVNO=\"1\" -DAPP_VERSION=\"1.0.0-SR0\" -DBUILDDATE=\"13-12-23\" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_SCRIPT_LIB -DQT_CONCURRENT_LIB -DQT_SERIALPORT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -F/opt/homebrew/Cellar/qt@5/5.15.10_1/lib -fpch-preprocess -v -dD -E

g++-13: error: this compiler does not support '-Wall'

Using built-in specs.


Target: aarch64-apple-darwin23

Configured with: ../configure --prefix=/opt/homebrew/opt/gcc --libdir=/opt/homebrew/opt/gcc/lib/gcc/current --disable-nls --enable-checking=release --with-gcc-major-version-only --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-13 --with-gmp=/opt/homebrew/opt/gmp --with-mpfr=/opt/homebrew/opt/mpfr --with-mpc=/opt/homebrew/opt/libmpc --with-isl=/opt/homebrew/opt/isl --with-zstd=/opt/homebrew/opt/zstd --with-pkgversion='Homebrew GCC 13.2.0' --with-bugurl= --with-system-zlib --build=aarch64-apple-darwin23 --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk --with-ld=/Library/Developer/CommandLineTools/usr/bin/ld-classic

Thread model: posix

Supported LTO compression algorithms: zlib zstd

gcc version 13.2.0 (Homebrew GCC 13.2.0)

Prior to the update I had no problems whatsoever, and I didn't update anything else in between other than CLion.

Someone has a suggestion, what could have gone wrong?


Please sign in to leave a comment.