Skip to content

fix(main): silence std::stoi nodiscard warning - #111

Open
mxafi wants to merge 1 commit into
mainfrom
fix/stoi-nodiscard
Open

mxafi wants to merge 1 commit into
mainfrom
fix/stoi-nodiscard

Conversation

@mxafi

@mxafi mxafi commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Cast std::stoi(argv[1]) to void in src/main/main.cpp so compilation with -Werror succeeds on newer libc++.

Why: compilation currently fails with our strict flags on new macos

@mxafi
mxafi requested review from djames9 and liocle as code owners October 22, 2026 06:21

@liocle liocle left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks Good To Me! : )

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.

2 participants