Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress GNU GCC "-Wstringop-overflow" warnings. #137

Closed
wants to merge 3 commits into from
Closed

Suppress GNU GCC "-Wstringop-overflow" warnings. #137

wants to merge 3 commits into from

Conversation

JPeterMugaas
Copy link
Contributor

Addresses issue #136 .

@walbourn
Copy link
Member

walbourn commented Jan 1, 2024

I don't know that suppression is the correct solution here. This is essentially a security warning.

@walbourn
Copy link
Member

walbourn commented Jan 2, 2024

I see that this works, but it seems hacky. I really want to figure out why GCC thinks this is an issue.

@walbourn
Copy link
Member

walbourn commented Jan 2, 2024

I just tried building with MinGW-w64 13.2.0 r4 and I'm not seeing these warnings. Are you using a Linux-hosted version of MinGW?

@walbourn
Copy link
Member

walbourn commented Jan 2, 2024

OK, so they only show up in release builds. Not debug builds.

@walbourn
Copy link
Member

walbourn commented Jan 5, 2024

I'm working through fixing these.

@walbourn walbourn closed this Jan 5, 2024
@JPeterMugaas JPeterMugaas deleted the supress-gcc-stringop-overflow branch January 5, 2024 19:28
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