https://bugzilla.kernel.org/show_bug.cgi?id=207959 --- Comment #6 from Asher Gordon (AsDaGo@xxxxxxxxxx) --- (In reply to Luc Van Oostenryck from comment #3) > Can't you just add this option in your > SPARSE_FLAGS or something like that? Well, actually I'm not using Sparse for my project. I want to use the 'designated_init' attribute since it is supported by GCC. And I want to use the attribute mainly so that users of my library get the warning, and I can't control what flags the user uses (and GCC doesn't have a -Wno-universal-initializer flag anyway). (In reply to Linus Torvalds from comment #4) > So yeah, the sparse defaults may be a bit kernel-centric. That's fine, but perhaps GCC should add something like -Wno-universal-initializer and use it by default. I'll suggest that in the GCC bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95379). -- You are receiving this mail because: You are watching the assignee of the bug.