Community
Participate
Working Groups
Build Identifier: I20100520-1744 Create a C++ source file containing the following function: void test() { void *libHandle (0); } Code analysis highlights the "void *libHandle(0);" line and reports a syntax error on it. Reproducible: Always
-> Parser
Created attachment 169788 [details] testcase + fix
Fixed in 7.0 > 20100525.
*** cdt cvs genie on behalf of mschorn *** Bug 314113: False syntax error. [*] AST2CPPTests.java 1.344 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java?root=Tools_Project&r1=1.343&r2=1.344 [*] GNUCPPSourceParser.java 1.231 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java?root=Tools_Project&r1=1.230&r2=1.231