Skip to content

method can't be used in member initializer before its declaration

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


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

Description :

output:

[kernel] Parsing FRAMAC_SHARE/libc/__fc_builtin_for_normalization.i (no preprocessing) [kernel] Parsing 443.cpp (external front-end) Now output intermediate result 443.cpp:7:[kernel] warning: Calling undeclared function _ZNK5PointE1x. Old style K&R code?

The error message is not observed for any of the variants in lines 4 to 6 (currently commented-out). It also disappears if the definition of x() is moved before line 4.

Attachments

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