openbmc / intel-ipmi-oem

Other
17 stars 13 forks source link

Compilation fails since update to boost 1.76 #5

Open MaxPower2005 opened 3 years ago

MaxPower2005 commented 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

geissonator commented 3 years ago

https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-host-ipmid/+/43374 was the fix for this done in phosphor-host-ipmid I believe.