Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 350342

Summary: codan doesn't parse boost::multi_array correctly, instantiating gives error
Product: [Tools] CDT Reporter: Cornelius Missing name <trivial+eclipsebugs>
Component: cdt-parserAssignee: Project Inbox <cdt-parser-inbox>
Status: CLOSED INVALID QA Contact: Markus Schorn <mschorn.eclipse>
Severity: normal    
Priority: P3 CC: cdtdoug, malaperle
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Cornelius Missing name CLA 2011-06-25 00:09:02 EDT
Build Identifier: 20110615-0604

Instantiating boost::multi_array<int, 2> (boost version 1.46.0) gives the error "invalid template argument".

The testcase is

#include <boost/multi_array.hpp>
boost::multi_array<int, 2> testIt;

This obviously shouldn't happen and leads to follow-on errors because codan then doesn't know about members of a class declared with a multi_array type.

Reproducible: Always
Comment 1 Markus Schorn CLA 2011-07-04 08:35:03 EDT
Works for me using CDT 8.0 and boost 1.46.1. Please double check the version of CDT you are using, also make sure that the include directive can be resolved by the CDT parser (i.e. it does not show an error in the editor).
Comment 2 Cornelius Missing name CLA 2011-07-11 08:03:58 EDT
I'm sorry, I can't reproduce the bug here either. I'm sure I checked for unresolved includes and i've even checked the parser logfile...