Fix -Wmissing-field-initializers on Clang 18 #543
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#543
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently on main we build with Clang 17. It appears that Clang 18 added a giant pile of field initializer warnings. I am thus disabling the warning for the time being until those warnings get dealt with. This, however, should be actually fixed.
If you want to help fix this, you can temporarily change the version of clang to 18 by changing the flake to use clang18Stdenv or by temporarily updating the flake to nixpkgs unstable and you will get the warnings.
I'm happy to pick up the task of fixing the field initializer warnings. I already handled a bunch of them in this commit =
cl/2044
.oh, i actually have got on fixing a lot of these.
Cool :) Just go ahead. I have other things to work on.
This issue was mentioned on Gerrit on the following CLs: