12-11-2012 09:06 PM
I just downloaded and installed the BB10 Gold.
Fired it up and tried to do a build on an existing project that I've had no problems with before. I get a build error:
**** Internal Builder is used for build ****
qcc -o src\main.o ..\src\main.c -V4.4.2,gcc_ntoarmv7le -w1 -IC:/BB_SDK/target/qnx6/usr/include/freetype2 -IC:/BB_SDK/target/qnx6/../target-override/usr/inc
cc1: error: unrecognized command line option "-fstack-protector-strong"
Build error occurred, build is stopped
Time consumed: 4483 ms.
I don't know what to do with this. There's obviously some kind of command line option that isn't right but I have no experience modifying these sorts of things.
Solved! Go to Solution.
12-12-2012 06:01 AM
Well, my solution is (I don`t know what other consequences it may have):
1) Go into Project Properties (I assume you use QNX Momentics IDE)
2) C/C++ Build
3) Settings -> Tool Settings -> Output Control in QCC Compiler -> Uncheck "Enchanced Security (-fstack-protector-strong)" option
Works for me.
12-12-2012 06:57 AM - edited 12-12-2012 06:57 AM
I'll give that a shot and see how it goes, although just looking at what you're suggesting, it seems to be the answer.