In file included from insight/windows/win_proc_c.cc:2: insight/windows/insight_win.h:109: error: `identity' was not declared in this scope insight/windows/insight_win.h:109: error: template argument 2 is invalid insight/windows/insight_win.h:109: error: template argument 1 is invalid insight/windows/insight_win.h:113: error: wrong number of template arguments (4, should be 3) /usr/X11R6/include/boost/multi_index_container_fwd.hpp:34: error: provided for `template class boost::multi_index::multi_index_container' insight/windows/insight_win.h:113: error: expected unqualified-id before '>' token insight/windows/insight_win.h:259: error: `cfg_bbs_t' does not name a type insight/windows/win_proc_c.cc: In member function `bx_bool win_proc_c::bb_commit(bx_address, bx_address)': insight/windows/win_proc_c.cc:328: error: `cfg_bbs_t' has not been declared insight/windows/win_proc_c.cc:328: error: expected initializer before '<' token insight/windows/win_proc_c.cc:329: error: `cfg_bbs_t' has not been declared insight/windows/win_proc_c.cc:329: error: expected initializer before '<' token insight/windows/win_proc_c.cc:330: error: `bbs_by_start' was not declared in this scope insight/windows/win_proc_c.cc:330: error: `index1' was not declared in this scope insight/windows/win_proc_c.cc:330: error: 'class win_proc_c' has no member named '_bb_container' insight/windows/win_proc_c.cc:331: error: `bbs_by_end' was not declared in this scope insight/windows/win_proc_c.cc:331: error: `index2' was not declared in this scope insight/windows/win_proc_c.cc:331: error: 'class win_proc_c' has no member named '_bb_container' insight/windows/win_proc_c.cc:333: error: `cfg_bbs_t' has not been declared insight/windows/win_proc_c.cc:333: error: `cfg_bbs_t' has not been declared insight/windows/win_proc_c.cc:333: error: type/value mismatch at argument 1 in template parameter list for `template struct std::pair' insight/windows/win_proc_c.cc:333: error: expected a type, got `iterator' insight/windows/win_proc_c.cc:333: error: type/value mismatch at argument 2 in template parameter list for `template struct std::pair' insight/windows/win_proc_c.cc:333: error: expected a type, got `iterator' insight/windows/win_proc_c.cc:333: error: invalid type in declaration before '=' token The offending code: typedef multi_index_container< cfg_bb_t, indexed_by< ordered_unique< tag< id>, identity< cfg_bb_t> >, ordered_non_unique< tag< start>, member< cfg_bb_t, bx_address, &cfg_bb_t::start> >, ordered_non_unique< tag< end>, member< cfg_bb_t, bx_address, &cfg_bb_t::end> > > > cfg_bbs_t;