Open MaxPower2005 opened 3 years ago
Since the recent update of OpenBMC to use boost 1.76, the compilation of intel-ipmi-oem fails with errors of the following kind:
/home/maxpower/test-bmc/workspace/sources/intel-ipmi-oem/src/chassiscommands.cpp:515:36: error: conversion from 'ipmi::chassis::ChassisIDState' to non-scalar type 'uint2_t' {aka 'boost::multiprecision::number<boost::multiprecision::backends::cpp_int_backend<2, 2, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void>, boost::multiprecision::et_off>'} requested | 515 | uint2_t chassisIdentifyState = chassisIDState; | | ^~~~~~
Looks like this is related to https://github.com/boostorg/multiprecision/issues/324
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-host-ipmid/+/43374 was the fix for this done in phosphor-host-ipmid I believe.
Since the recent update of OpenBMC to use boost 1.76, the compilation of intel-ipmi-oem fails with errors of the following kind:
/home/maxpower/test-bmc/workspace/sources/intel-ipmi-oem/src/chassiscommands.cpp:515:36: error: conversion from 'ipmi::chassis::ChassisIDState' to non-scalar type 'uint2_t' {aka 'boost::multiprecision::number<boost::multiprecision::backends::cpp_int_backend<2, 2, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void>, boost::multiprecision::et_off>'} requested | 515 | uint2_t chassisIdentifyState = chassisIDState; | | ^
~~~~~Looks like this is related to https://github.com/boostorg/multiprecision/issues/324