Skip to content

Fix Precommit#189

Merged
EmmasBox merged 2 commits intoMainframe-Renewal-Project:devfrom
yinjie-z:fix-pre_commit
Feb 23, 2026
Merged

Fix Precommit#189
EmmasBox merged 2 commits intoMainframe-Renewal-Project:devfrom
yinjie-z:fix-pre_commit

Conversation

@yinjie-z
Copy link

@yinjie-z yinjie-z commented Feb 21, 2026

Description

This PR addresses the local build and pre-commit failures identified in #188.

By updating the C++ standard and refining the source file paths, this ensures that the project can be built and tested locally on Linux environments.

Changes

  • Makefile: Fixed a syntax error in COMMON_INC.
  • Makefile: Updated CXXSTANDARD from c++14 to c++17 to support std::string_view.
  • Makefile: Corrected SRCZOSLIB pathing to prevent clang++ errors when .c files are missing in the test directory.

Testing Performed

  • Ran make test on Linux (Clang++).
  • Verified that conversion.hpp now compiles correctly with std::string_view.
  • Confirmed pre-commit hooks now pass the unit-test and cppcheck stages.

fix #188

@github-actions github-actions bot added the build Related to packaging, compiling, and github actions label Feb 21, 2026
@yinjie-z yinjie-z changed the title Fix Makefile Fix Precommit Feb 21, 2026
@yinjie-z
Copy link
Author

I also update .pre-commit-config.yaml to use cmake

@yinjie-z yinjie-z changed the base branch from main to dev February 22, 2026 09:29
Copy link

@emmasdb emmasdb left a comment

Choose a reason for hiding this comment

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

Looks reasonable

Copy link
Collaborator

@EmmasBox EmmasBox left a comment

Choose a reason for hiding this comment

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

lgtm

@EmmasBox EmmasBox merged commit 365bb21 into Mainframe-Renewal-Project:dev Feb 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Related to packaging, compiling, and github actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: pre-commit hooks failing during local execution

3 participants