Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - qcc command line option bug: (4 Items)
   
qcc command line option bug  
While substituting gcc with qcc -V3.3.5,gcc_ntox86 using QNX 6.3.2 I have found a qcc bug with parsing -pedantic option 
which qcc must pass to gcc, but instead of it, it treat -pedantic as its "-p" option and enables profiling for the 
compiled source code.

The same behaviour of qcc in the QNX 6.4.0.
Re: qcc command line option bug  
I can confirm this, I created a pr: 63779
Re: qcc command line option bug  
Do you need an experimental fix or can you wait till 6.4.1?

In the meantime, you can use "-Wc,-pedantic", which will pass down -pedantic

Thanks,
Cody
Re: qcc command line option bug  
No, thank you, I do not need experimental fix.

I've found this problem while compilig lighttpd ( http://www.lighttpd.net/ ) - it uses -pedantic by default (with bunch 
of other options), but there is not a problem to remove -pedantic string :) But finding where is the root of problem and
 why executables creating the gmon.out file costs me one hour :)