Hello there, I have freshly installed geany on my void linux xfce. In my current setup, I have clang installed and I don't have gcc installed. I have been using geany for years and earlier I used geany with gcc and it worked fine.
I had set the compile and build commands as follows-
1. Compile - clang++ -std=c++17 -Wshadow -Wall -o "%e" "%f" -O2 -Wno-unused-result
2. Build - clang++ -std=c++17 -Wshadow -Wall -o "%e" "%f" -g -fsanitize=address -fsanitize=undefined -D_GLIBCXX_DEBUG

When I tried executing build or compile, geany threw this error -
image.png

Specs -
Geany version - 2.0
OS - Void Linux XFCE Latest
Clang - v18.1.8

I need help in setting geany for clang. Could anyone help me with this?


Thanks,
Avdhoot J