|
|
Re: How to get warnings for undeclared functions [message #1032694 is a reply to message #1032271] |
Wed, 03 April 2013 06:02  |
Eclipse User |
|
|
|
Hello Sam,
Quote:Interestingly, this works with C++ projects but not with C projects. I'm completely lost.
sadly the Code Analysis function (CODAN) is not yet documented, but I guess that it distinguishes between C and C++, because they languages are different.
See: http://en.wikipedia.org/wiki/Compatibility_of_C_and_C%2B%2B
In C implicit function declaration are possible (but bad style) but in C++ this is not allowed.
I think that CODAN should report an Error for C++ (what it does) and a Warning for C (it does not).
Please check Bugzilla, maybe there is already a related bug entry. If not, you could add one...
regards,
Klaus
|
|
|
Powered by
FUDForum. Page generated in 0.04935 seconds