-
Notifications
You must be signed in to change notification settings - Fork 8
clang -Wpedantic enum int range #36
Comments
Hmm, this is part of the API. I think we're stuck with an enum. We could try to remove values and compress it to fit in a 32-bit range, but that's not great either... |
Has upstream systemd done something about this? |
Their enum is identical in master: https://github.com/systemd/systemd/blob/6c41cf445912c12e14b1e94414a0fce1fa060ac2/src/systemd/sd-bus.h#L58 I don't think they build with |
I guess one "solution" would be |
I'd rather not add pragma directives. |
Seems easier to build without |
Well, yeah, but unfortunately some projects that include |
The headers installed system-wide should be marked a "system includes" with Unfortunately on FreeBSD Meson doesn't do it for |
Apparently clang doesn't like 64-bit enum values now:
and in another file
The text was updated successfully, but these errors were encountered: