We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The enum type in aserver.hpp generated code uses full path which should be replaced by typeName only.
In file included from ../software_manager.hpp:7, from ../software_manager.cpp:1: subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:80:119: error: template argument 2 is invalid 80 | using value_types = std::tuple<sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>; | ^ subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:80:34: error: '' in namespace 'std' does not name a type 80 | using value_types = std::tuple<sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:168:49: error: parse error in template argument list 168 | utility::tuple_to_array(message::types::type_id<sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:218:35: error: wrong number of template arguments (1, should be at least 2) 218 | requires (server_details::has_method< | ^~~~~~~~~~ In file included from subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:2: /usr/local/include/sdbusplus/async/server.hpp:111:9: note: provided for 'template<class Tag, class Instance, class ... Args> concept sdbusplus::async::server::details::has_method' 111 | concept has_method = has_method_nomsg<Tag, Instance, Args...> || | ^~~~~~~~~~ subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:219:134: error: template argument 4 is invalid 219 | start_update_t, Instance, sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>) | ^ subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:218:45: error: missing template arguments before '<' token 218 | requires (server_details::has_method< | ^ subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:219:43: error: expected primary-expression before ',' token 219 | start_update_t, Instance, sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>) | ^ subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:219:53: error: expected primary-expression before ',' token 219 | start_update_t, Instance, sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>) | ^ subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:219:82: error: expected primary-expression before ',' token 219 | start_update_t, Instance, sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>) | ^ subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:219:116: error: 'template<class Instance, class Server> struct sdbusplus::aserver::xyz::openbmc_project::software::Update' used without template arguments 219 | start_update_t, Instance, sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>) | ^~~~~~ subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:219:135: error: expected primary-expression before ')' token 219 | start_update_t, Instance, sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>) | ^ subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp: In static member function 'static int sdbusplus::aserver::xyz::openbmc_project::software::details::Update<Instance, Server>::_callback_m_start_update(sd_bus_message*, void*, sd_bus_error*) requires ': subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:227:41: error: parse error in template argument list 227 | auto [image, applyTime] = m.unpack<sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:230:33: error: parse error in template argument list 230 | server_details::has_method_msg< | ^~~~~~~~~~~~~~~ 231 | start_update_t, Instance, sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The enum type in aserver.hpp generated code uses full path which should be replaced by typeName only.
In file included from ../software_manager.hpp:7,
from ../software_manager.cpp:1:
subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:80:119: error: template argument 2 is invalid
80 | using value_types = std::tuple<sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>;
| ^
subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:80:34: error: '' in namespace 'std' does not name a type
80 | using value_types = std::tuple<sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:168:49: error: parse error in template argument list
168 | utility::tuple_to_array(message::types::type_id<sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:218:35: error: wrong number of template arguments (1, should be at least 2)
218 | requires (server_details::has_method<
| ^~~~~~~~~~
In file included from subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:2:
/usr/local/include/sdbusplus/async/server.hpp:111:9: note: provided for 'template<class Tag, class Instance, class ... Args> concept sdbusplus::async::server::details::has_method'
111 | concept has_method = has_method_nomsg<Tag, Instance, Args...> ||
| ^~~~~~~~~~
subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:219:134: error: template argument 4 is invalid
219 | start_update_t, Instance, sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>)
| ^
subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:218:45: error: missing template arguments before '<' token
218 | requires (server_details::has_method<
| ^
subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:219:43: error: expected primary-expression before ',' token
219 | start_update_t, Instance, sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>)
| ^
subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:219:53: error: expected primary-expression before ',' token
219 | start_update_t, Instance, sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>)
| ^
subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:219:82: error: expected primary-expression before ',' token
219 | start_update_t, Instance, sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>)
| ^
subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:219:116: error: 'template<class Instance, class Server> struct sdbusplus::aserver::xyz::openbmc_project::software::Update' used without template arguments
219 | start_update_t, Instance, sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>)
| ^~~~~~
subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:219:135: error: expected primary-expression before ')' token
219 | start_update_t, Instance, sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>)
| ^
subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp: In static member function 'static int sdbusplus::aserver::xyz::openbmc_project::software::details::Update<Instance, Server>::_callback_m_start_update(sd_bus_message*, void*, sd_bus_error*) requires ':
subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:227:41: error: parse error in template argument list
227 | auto [image, applyTime] = m.unpack<sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Update/aserver.hpp:230:33: error: parse error in template argument list
230 | server_details::has_method_msg<
| ^~~~~~~~~~~~~~~
231 | start_update_t, Instance, sdbusplus::message::unix_fd, xyz::openbmc_project::software::Update::ApplyTimes>;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: