| Summary: | No support for headers included in different variants, e.g.: boost/function.hpp | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Vasiliy Dybala <dibalavs> |
| Component: | cdt-indexer | Assignee: | Project Inbox <cdt-indexer-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | Markus Schorn <mschorn.eclipse> |
| Severity: | normal | ||
| Priority: | P3 | CC: | waste.manager, yevshif, zeratul976 |
| Version: | 7.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
The header 'boost/function.hpp' includes the same header multiple times with different macro dictionaries. CDT currently does not support that. *** Bug 332280 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 197989 *** |
#include <boost/function.hpp> void func(char val){} void f1(boost::function<void (char)> t){} void test() { f1(func); } eclipse could not parse f1(func); P.S. if replace f1 to void f1(boost::function<void (void)> t){} eclipse parse f1(func); sucessfully, but this code could not be compiled :) . boost version 1.40.0 -- Configuration Details -- Product: Eclipse 1.3.0.20100617-0520 (org.eclipse.epp.package.cpp.product) Installed Features: org.eclipse.platform 3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY