AIX 上的 hash_map?

发布于 2024-08-09 03:01:38 字数 200 浏览 4 评论 0原文

我正在将一个程序移植到 AIX,该程序在很多地方都使用了 hash_map。

对于 linux 和 solaris,hash_map 包含在 _gnu_cxx 软件包和 stlport 中。

但是,我在AIX平台上找不到hash_map。有人知道吗? 顺便说一句,我必须使用 IBM 编译器 /usr/vacpp/bin/xlC。

谢谢。

I am porting a program to AIX which takes use of hash_map in many places.

For linux and solaris hash_map is included in _gnu_cxx package and stlport.

However, I can't find hash_map on AIX platform. Anybody know?
Btw, I have to use IBM compiler /usr/vacpp/bin/xlC.

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

乄_柒ぐ汐 2024-08-16 03:01:38

我认为您需要 AIX xlC 编译器上的 。这是因为 是 gcc 扩展。

您需要更改代码以使用不同的名称(或者使用翻译层进行一些操作)。

I think you want <unordered_map> on the AIX xlC compiler. That's because <hash_map> is a gcc extension.

You'll need to change your code to use the different name (or do some jiggery-pokery with a translation layer).

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