-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation failed #40
Comments
If I revert to the commit just before the vtables CI commit (4212292), it builds again. |
Thanks for reporting @wilhelmy. @mine260309 can you take a look at this? |
@wilhelmy May I ask how exactly do you build sdbuplus with openbmc/yocto using libsystemd 241, e.g. the steps or the revisions? |
It fails exactly like this on pure Debian 10 (libsystemd0:amd64 241-7~deb10u3)
|
I can confirm, as @wilhelmy pointed, building from f8bbf17 succeeds:
|
Just hit this on Debian Buster. Please remember that this library is required by host-side utilities, such as the IPMI firmware update tool, and cannot hard-require a Yocto environment to build. |
Verified that the issue happens on Debian Buster. The issue could be simplified as below code snippet:
Without The workaround could be to construct a I posted the question at SO https://stackoverflow.com/questions/60273556/return-brace-enclosed-initializer-list-as-struct, let's see what exactly is wrong. |
Neither of these are valid C++ so I’m not surprised it fails to compile. Designated initializers are not added to C++ until C++20 (but they have been in C since C99). |
Trying to compile git master via openbmc/yocto using libsystemd 241 results in the following compilation error:
The text was updated successfully, but these errors were encountered: