Skip to content

Compilation fails since update to boost 1.76 #5

Description

@MaxPower2005

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 boostorg/multiprecision#324

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions