C++11 delegating constructor not supported
ID0002346: This issue was created automatically from Mantis Issue 2346. Further discussion may take place here.
Id | Project | Category | View | Due Date | Updated |
---|---|---|---|---|---|
ID0002346 | Frama-C | Plug-in > clang | public | 2018-01-19 | 2018-01-19 |
Reporter | jens | Assigned To | virgile | Resolution | open |
Priority | normal | Severity | minor | Reproducibility | always |
Platform | - | OS | - | OS Version | - |
Product Version | Frama-C GIT, precise the release id | Target Version | - | Fixed in Version | - |
Description :
The attached two examples for with g++ in C++11 mode. The first example is pure C++03. Fram-Clang can handle it. The second version uses a delegation constructor. Frama-Clang fails on this one with the error message:
frama-c -val object_construction2.cpp [kernel] Parsing object_construction2.cpp (external front-end) Unsupported constructor initializer:SomeType Aborting [kernel] user error: Failed to parse C++ file. See Clang messages for more information [kernel] user error: stopping on file "object_construction2.cpp" that has errors. [kernel] Frama-C aborted: invalid user input.
Additional Information :
frama-clang 0.0.4