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
New Contributor
techie74
Posts: 7
Registered: ‎12-05-2012
My Carrier: Orange

C++ runtime linking problems

Hi

 

I'm using the new GOLD SDK 10.0.9.1673 and simulator for C++ dev on BB10 using Mac OS Mountain Lion. I have a problem compiling a library, getting 'memcpy was not delared in this scope errors'. I'm using the C++ Dinkum with exceptions as the runtime library. I have included <cstring> header. How can I get this code to compile which includes memcpy.

 

Thanks

Please use plain text.
Developer
BGmot
Posts: 956
Registered: ‎11-24-2011
My Carrier: x

Re: C++ runtime linking problems

memcpy() is standard C function and declared in <string.h>

Please use plain text.