开发者

STL namespace problem in Netbeans 6.8 on AIX

开发者 https://www.devze.com 2022-12-22 08:03 出处:网络
I\'m trying to use NetBeans 6.8 on an AIX OS for C++ development. I continue getting an error message for:

I'm trying to use NetBeans 6.8 on an AIX OS for C++ development.

I continue getting an error message for:

using namespace std;

even after adding the includes for the STL via

options -- c/c++ -- code assistance

The error says: "Unable to resolve identifier std"

Is this a bug in the Netbeans 6.8 AIX version? Or am I missing something?

Thanks for any h开发者_JS百科elp!


You can easily enough test if there is no std namespace getting included before your using directive by adding in

namespace std
{
}

just before it. If the compiler is now happy then there was no std namespace stuff actually included.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号