Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Native Development

Reply
Developer
Developer
CMY
Posts: 1,115
Registered: ‎02-10-2009
My Carrier: Verizon

Deprecated Assembly code when porting Boost

I'm working through porting the Boost 1.49 Library with a Makefile project and almost every library is giving a warning when built that swp{b} is deprecated for this architecture.........I haven't gotten to building the library test packages yet as I'm still trying to figure out the best way to redirect the std::smileysurprised:ut or just check it while hooked to the simulator........but I was wondering since the __QNXNTO__ switch is defined, should it be giving out this warning?

Please use plain text.
Contributor
pjc158
Posts: 11
Registered: ‎05-05-2012
My Carrier: NA

Re: Deprecated Assembly code when porting Boost

I am needing Boost and I would be interested in knowing you get it to build work with the NSDK.
Please use plain text.
BlackBerry Development Advisor
anhu
Posts: 53
Registered: ‎10-26-2011
My Carrier: Rogers

Re: Deprecated Assembly code when porting Boost

We’ve actually pushed a port of Boost out that has this spinlock assembly code fixed for ARMv7 and up.

Please have a look at github and search for our BlackBerry Boost port. 

Please use plain text.
Contributor
pjc158
Posts: 11
Registered: ‎05-05-2012
My Carrier: NA

Re: Deprecated Assembly code when porting Boost

Is RIM going to add Boost the NSDK in the future as a lot of C++ developers use this library?

I dont really want to have to build the library myself when I really want to concentrate on porting and supporting our own code.

Please use plain text.
Developer
Developer
CMY
Posts: 1,115
Registered: ‎02-10-2009
My Carrier: Verizon

Re: Deprecated Assembly code when porting Boost

Will using the code as is not work due to this spin lock code?
What exactly was done to fix the working libraries/headers (as there are quite a few that are not reported to have been ported)?
Please use plain text.