使用 Visual C++ 进行最新的提升6.0
我想让 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'
i want to make boost library working with Visual C++ 6.0, but it fail at include state with various errors:
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'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确保您使用的是 1.34.1
Make sure you are using 1.34.1