Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 16
Registered: ‎04-28-2013
My Device: PlayBook
My Carrier: none

can I use std::array on PlayBook v2.1 NDK?

[ Edited ]

I'm trying to port an app to the PlayBook but I've run into a snag.  The app is written use C++11 so it uses quite a few new C++ features such as the new stl array class.


The code tries to #include  <array> but the NDK is complaining that it can't find this include.


Does this mean I can't use any C++11 features on PlayBook? or is there a way to do it?

C++, 3D OpenGL and Game Programming video tutorials:
Play my free games:
Zing: http://appworld.blackberry.com/webstore/content/27406036
Jewel Thief: http://appworld.blackberry.com/webstore/content/29105889
Posts: 1,041
Registered: ‎07-16-2008
My Device: ಠ_ಠ

Re: can I use std::array on PlayBook v2.1 NDK?

You should be able to tell by looking at the version of GCC shipped with the PlayBook NDK. I don't think C++11 support was added until 4.7