Community
Participate
Working Groups
Build Identifier: HEAD Consider the following code example: #include <iostream> //using namespace ::std; #define ENTER() cout << "Entering" << endl; void testSomething() { ENTER(); } As long as the using directive is commented out, the code will not compile. Codan marks it correctly as an error, but it says "Symbol 'ENTER()' could not be resolved", instead of referring to cout and/or endl. Reproducible: Always
fixed
*** cdt cvs genie on behalf of elaskavaia *** Bug 326768 - Macro name is reported as unresolved symbol, not the actual symbol after macro expansion [*] ProblemBindingChecker.java 1.6 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ProblemBindingChecker.java?root=Tools_Project&r1=1.5&r2=1.6