Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322467 - No support for headers included in different variants, e.g.: boost/function.hpp
Summary: No support for headers included in different variants, e.g.: boost/function.hpp
Status: CLOSED DUPLICATE of bug 197989
Alias: None
Product: CDT
Classification: Tools
Component: cdt-indexer (show other bugs)
Version: 7.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Markus Schorn CLA
URL:
Whiteboard:
Keywords:
: 332280 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-12 02:37 EDT by Vasiliy Dybala CLA
Modified: 2011-08-06 18:47 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vasiliy Dybala CLA 2010-08-12 02:37:17 EDT
#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
Comment 1 Markus Schorn CLA 2010-08-13 07:50:42 EDT
The header 'boost/function.hpp' includes the same header multiple times with different macro dictionaries. CDT currently does not support that.
Comment 2 Markus Schorn CLA 2010-12-23 07:23:21 EST
*** Bug 332280 has been marked as a duplicate of this bug. ***
Comment 3 Sergey Prigogin CLA 2011-07-05 11:33:45 EDT

*** This bug has been marked as a duplicate of bug 197989 ***