Skip to content

using "delete" causes warning for "free"

ID0001946: This issue was created automatically from Mantis Issue 1946. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0001946 Frama-Clang Plug-in > clang public 2014-10-30 2015-04-16
Reporter Jochen Assigned To virgile Resolution fixed
Priority normal Severity minor Reproducibility always
Platform frama-c-Neon-20140301+dev-stance OS xubuntu-cfe13.10 OS Version -
Product Version - Target Version - Fixed in Version -

Description :

output:

Now output intermediate result 072.cpp:3:[kernel] warning: Calling undeclared function free. Old style K&R code? [kernel] warning: Assuming declared function free can't throw any exception

Similar to issue #1596 (closed), but now for "delete"/"free" rather than "new"/"malloc", cf. the note #4424 there.

Attachments

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information