Skip to content

predicate argument type "struct S" accepted by Frama-C, but not by Frama-clang

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


Id Project Category View Due Date Updated
ID0002358 Frama-C Plug-in > clang public 2018-02-08 2018-02-08
Reporter Jochen Assigned To virgile Resolution open
Priority normal Severity feature Reproducibility always
Platform Sulfur-20171101 OS - OS Version Ubuntu 17.10
Product Version Frama-C 16-Sulfur Target Version - Fixed in Version -

Description :

Running "frama-c stack_init_cpp.cpp" in the attached file results in an error message "keyword 'keyword -> struct' encountered when parsing a type" for line 6 (C++/C subroutine), but not for line 4 (Acsl predicate). When the file is renamed to "frama-c stack_init_cpp.c" , the error message disappears.

Attachments

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