开发者

STL namespace problem in Netbeans 6.8 on AIX

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜