Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350342 - codan doesn't parse boost::multi_array correctly, instantiating gives error
Summary: codan doesn't parse boost::multi_array correctly, instantiating gives error
Status: CLOSED INVALID
Alias: None
Product: CDT
Classification: Tools
Component: cdt-parser (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Markus Schorn CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-25 00:09 EDT by Cornelius Missing name CLA
Modified: 2011-07-11 08:03 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...