Clang 15/16 Build Failures
Hi Team,
While assisting a contributor with a new packages submission to Gentoo I attempted to build the package in question with Clang 16 and identified some build failures caused by compiler settings that changed with Clang 15. My understanding is that GCC 13 may behave similarly upon its release.
I was advised to raise an issue here after asking in #vala
Build Info
- Failed build log:VALACusrbinvalac-0-HWITM.txt
- An impacted file: https://github.com/ErikReider/SwayNotificationCenter/blob/main/src/configModel/configModel.vala
Reproduction
- Install Clang 16
- Check out the repository linked above
- Initialise and attempt to build the software:
VALAC=/usr/bin/valac-0.56 CC=clang-16 CXX=clang-16 meson setup build && cd build && VALAC=/usr/bin/valac-0.56 CC=clang-16 CXX=clang-16 meson compile
note: the VALAC
envvar is only really required on Gentoo where there isn't a default symlink to /usr/bin/vala