使用 Visual C++ 进行最新的提升6.0

发布于 2024-10-22 07:05:32 字数 1798 浏览 2 评论 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

怪我闹别瞎闹 2024-10-29 07:05:32

确保您使用的是 1.34.1

Make sure you are using 1.34.1

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文