我想让boost库与Visual C ++ 6.0一起工作,但它在包含各种错误的包含状态下失败:
e:\program files\microsoft visual studio\vc98\include\boost\config\suffix.hpp(603) : error C2039: 'typeinfo' : is not a member of '`global namespace''
e:\program files\microsoft visual studio\vc98\include\boost\config\suffix.hpp(603) : error C2873: 'typeinfo' : symbol cannot be used in a using-declaration
e:\program files\microsoft visual studio\vc98\include\boost\interprocess\interprocess_fwd.hpp(192) : error C2954: template definitions cannot nest
e:\program files\microsoft visual studio\vc98\include\boost\interprocess\interprocess_fwd.hpp(192) : error C2951: template declarations are only permitted at global or namespace scope
e:\program files\microsoft visual studio\vc98\include\boost\interprocess\interprocess_fwd.hpp(192) : error C2226: syntax error : unexpected type 'IndexType'
e:\program files\microsoft visual studio\vc98\include\boost\interprocess\interprocess_fwd.hpp(193) : error C2143: syntax error : missing '>' before ';'
e:\program files\microsoft visual studio\vc98\include\boost\interprocess\interprocess_fwd.hpp(193) : error C2059: syntax error : '<end Parse>'
e:\program files\microsoft visual studio\vc98\include\boost\interprocess\interprocess_fwd.hpp(205) : error C2143: syntax error : missing ';' before '<'
e:\program files\microsoft visual studio\vc98\include\boost\interprocess\interprocess_fwd.hpp(205) : error C2059: syntax error : '<'
e:\program files\microsoft visual studio\vc98\include\boost\interprocess\interprocess_fwd.hpp(207) : error C2955: 'iset_index' : use of class template requires template argument list
e:\program files\microsoft visual studio\vc98\include\boost\interprocess\interprocess_fwd.hpp(180) : see declaration of 'iset_index'
答案 0 :(得分:0)
确保您使用的是1.34.1