Skip to content

fix mpp_error output bug#1883

Open
rem1776 wants to merge 2 commits into
NOAA-GFDL:mainfrom
rem1776:mpp-error-gcc-fix
Open

fix mpp_error output bug#1883
rem1776 wants to merge 2 commits into
NOAA-GFDL:mainfrom
rem1776:mpp-error-gcc-fix

Conversation

@rem1776

@rem1776 rem1776 commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Description
Fixes a un-initialized variable for GCC 15.

This bug was causing any strings output by mpp_error to be garbage non-ascii values, which is particularly annoying.

Fixes #1858

How Has This Been Tested?
make check with gcc 15 on amd box

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • New check tests, if applicable, are included
  • make distcheck passes

@uramirez8707 uramirez8707 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rem1776

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mpp_error outputs bad ascii values with GNU 15

2 participants