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

disable -Werror=format-security #221

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

acxz
Copy link
Contributor

@acxz acxz commented Jan 27, 2022

Resolves #198

On many linux distros, -Werror=format-security is used causing compilation failure with OpenVSP (Particularly introduced with the following OpenVSP commit:406d923#diff-7cafe6ca1c1cd0a10789daddf145fda0b71ca0bcb176f6e063684b51469db725R76.

Archlinux, Ubuntu

I tried spending some time on how to minimally rewrite the code to make it secure, but was unable to think how to do so without rewriting a good bit of the reading/writing part of the above referenced commit.

This PR proposes to disable to errors as to keep linux users happy until a proper solution is rolled.

@ramcdona
Copy link
Contributor

Is this still an issue for you? The ADEPT package is going to be removed sometime in the next ~year, so I don't want to go to heroic effort to address this. On the other hand, I made a lot of changes to the way ADEPT works a while back and I don't think this hs been updated since then.

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.

security warning when compiling with: -Wformat -Werror=format-security
2 participants