scipopt / soplex

Sequential object-oriented simPlex
Other
61 stars 18 forks source link

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

Open mahyquintana opened 6 months ago

mahyquintana commented 6 months ago

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 commented 6 months ago

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