03-22-2014 11:18 PM
I developed a library on my linux host and use the new great :-) C++11 feature (for an example move semantic, lambda, std::function, std::unique_ptr etc.).
I want to porting the library to my blackberry device.
By default qcc uses the Dinkumware C++ library (libcpp.so.4) which does not have C++11/tr1 support.
Great :-), so I add in my *.pro file following lines:
QMAKE_CXXFLAGS += -Wc,-std=c++0x -Y_gpp QMAKE_LFLAGS += -Y_gpp
Compiling and linking works well :-), but every time when I execute my project on my device they crashed with SIGSEV :-(. With the debugger, I see the system loads the libstdc++.so.6 as shared library.
I think the problem is that the BlackBerry Cascade is compiled with the Dinkum C++ library? So I can't "mixing" the libraries?
Does anybody knows, if there is C++11 and/or C++14 :-) support on BlackBerry in the future? I see on QNX there is a new gcc version 4.8.1 available.
03-23-2014 03:42 AM
This has been asked and answered a few times before, please do a search before posting.
Any way here's one thread that got responded to by someone from BlackBerry...
Do a search for C++ 11 if you want to read the rest.
09-26-2014 12:47 PM