Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
05-15-2012 12:06 PM
Does the QNX compiler support any C++11? I mean I have tried these two options:
-std=c++0x and -std=gnu++0x but I couldn't get it to work?
Are they supported and if they are, where should I exactly put them in Momentics?
09-06-2012 04:42 PM
Anyone has success with 10.0.6 version of SDK? It has all the headers and gcc 4.6.3 and I added:
INCLUDEPATH += $$(QNX_TARGET)/usr/include/c++/4.6.3 INCLUDEPATH += $$(QNX_TARGET)/usr/include/c++/4.6.3/arm-unknown-n
to-qnx8.0.0eabi QMAKE_CXXFLAGS += -Wc,-std=c++0x
to my .pro file, but anyway I get the following error during build:
e/c++/4.6.3/bits/stl_relops.:68: Parse error at "std"
09-06-2012 08:12 PM
Seriously? They have updated the compiler? But why not version 4.7. Well, if I am not mistaken, Qt5 requires newer gcc. But qcc lacks the option to enable C++11. Has that changed now?
09-06-2012 09:14 PM
SDK 10.0.6 contains GCC 4.6.3, To enable some of C++11 features through qcc wrapper use -Wc,-std=c++0x parameter. I've successfully compiled some lambda stuff, etc, but got stuck with STL headers.
09-07-2012 02:06 AM
01-17-2013 07:20 AM
The gcc 4.4.2 in the BB2.1 SDK supports -Wc,-std=c++0x as well, but you'll run into the same troubles as mentioned above with the BB10 SDK. It almost feels that the std=c++0x is simply ignored.