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 and spaces in arguments: Page 1 of 3 (3 Items)
   
Qcc and spaces in arguments  
Hello,

I'm trying to manually invoke qcc with some -D options which has some spaces in it:
qcc -DTYPE="unsigned int" main.c

This works fine using gcc, but fails with the following message with qcc:
cc1: fatal error: "-DTYPE=unsigned int": Invalid argument

This is the same kind of error that appears when trying to use spaces in paths.
Am I missing something or is there a workaround?

Cheers,
Tom