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

'use-after-free' warnings when compiling with GCC 12 #41

Open
mahyquintana opened this issue May 17, 2024 · 1 comment
Open

'use-after-free' warnings when compiling with GCC 12 #41

mahyquintana opened this issue May 17, 2024 · 1 comment

Comments

@mahyquintana
Copy link

When SoPLEX is built with GGC 12, the compiler produces 61 warnings like the following one:
soplex/src/soplex/classset.h:519:17: warning: pointer may be used after 'void free(void*)' [-Wuse-after-free]

Is this a known issue?
Are these false positive and it's safe to ignore them?

@leoneifler
Copy link
Contributor

Yes, this is a known issue and a false positive. The newer compilers complain about this, unfortunately it is not that easy to fix.

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

No branches or pull requests

2 participants