Hello, here is the commit that fixed it:

https://github.com/chu11/freeipmi-mirror/commit/ececf09d6128cbff65e9048f19d191e87f111059

Regards, P.

On Tue, Apr 08, 2025 at 09:48:35AM -0700, Al Chu wrote:
> Hi,
> 
> I believe this is already fixed in the master branch and the 
> freeipmi-1-6-0-stable branch.
> 
> Did you hit this on another branch?
> 
> Al
> 
> On 4/8/25 03:00, mark.y...@lge.com wrote:
> > From: "mark.yang" <mark.y...@lge.com>
> >
> > * See more details in:
> >   
> > https://urldefense.us/v3/__http://errors.yoctoproject.org/Errors/Details/851185/__;!!G2kpM7uM-TzIFchu!0tUOr5IOI8WsTVp0HBNxfQRhDChClN6O5UA2QYzrBdBXAC-RPkNfo_PHoqTwt8whWbWTUHEJf-GhB34J$
> >  
> >   Error occurs with gcc version 15.
> >   In gcc-15, C23 is the default and 'bool' is used as a reserved keyword.
> >   
> > https://urldefense.us/v3/__https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212__;!!G2kpM7uM-TzIFchu!0tUOr5IOI8WsTVp0HBNxfQRhDChClN6O5UA2QYzrBdBXAC-RPkNfo_PHoqTwt8whWbWTUHEJf_Q7_IVe$
> >  
> >
> > Signed-off-by: mark.yang <mark.y...@lge.com>
> > ---
> >  common/toolcommon/tool-config-file-common.c | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/common/toolcommon/tool-config-file-common.c 
> > b/common/toolcommon/tool-config-file-common.c
> > index 609e7a3..8d18992 100644
> > --- a/common/toolcommon/tool-config-file-common.c
> > +++ b/common/toolcommon/tool-config-file-common.c
> > @@ -78,14 +78,14 @@ _config_file_bool (conffile_t cf,
> >                     void *app_ptr,
> >                     int app_data)
> >  {
> > -  int *bool;
> > +  int *_bool;
> >  
> >    assert (data);
> >    assert (optionname);
> >    assert (option_ptr);
> >  
> > -  bool = (int *)option_ptr;
> > -  *bool = data->boolval;
> > +  _bool = (int *)option_ptr;
> > +  *_bool = data->boolval;
> >    return (0);
> >  }
> >  
> >
> -- 
> Albert Chu
> Livermore Computing
> Lawrence Livermore National Laboratory
> 
> 


Reply via email to