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 - Size of bool changed in ARM platform.: Page 1 of 12 (12 Items)
   
Size of bool changed in ARM platform.  
Previously we have been using QNX 6.5.0 on an i.MX31 and i.MX35 platform that both use the armle target with ARM11 cores
.  The size of a bool has been 4 bytes in this configuration.

Recently we are experimenting with a newer processors with a Cortex-A8 core that uses the armv7le target and it seems 
the bool size has changed to 1 byte.

The code we have written is not a problem, however, we are using some 3rd party libraries that specifically need the 
precise size of a bool value.  When I set the 3rd party code to use a bool size of 1 byte, I get bus errors due to the 
unaligned access on the ARM.  So I really need to find a way to set (qcc / gcc) to compile this code using a 4-byte bool
 value.

Does anyone have any input or advice on how this might be accomplished?

Thanks,
--john