gcc pragmas

bridged with qnx.development_tools
Post Reply
Dennis Miller

gcc pragmas

Post by Dennis Miller » Wed Jul 12, 2006 9:17 pm

I'm trying to find documentation that lists all the QNX 6.3.0 gcc pragmas,
but I haven't had any luck. I found QNX4 Watcom pragmas, but that doesn't
help me very much.

Thanks, Dennis

Martin Gagnon

Re: gcc pragmas

Post by Martin Gagnon » Wed Jul 12, 2006 10:19 pm

On 2006-07-12, Dennis Miller <dmiller@NOSPAMminnetronix.com> wrote:
I'm trying to find documentation that lists all the QNX 6.3.0 gcc pragmas,
but I haven't had any luck. I found QNX4 Watcom pragmas, but that doesn't
help me very much.

I've tried "gcc pragmas" in google and the first link I got is:

http://gcc.gnu.org/onlinedocs/gcc/Pragmas.html

You should found what you need there..

To be more specific to QNX.. If you're looking for pragmas relative to
data packing.. QNX have some include files that call the good pragmas
and permit to be backward compatible with old QNX that use Whatcom.

i.e.: #include <_pack1.h>

You can see at the include file yourself there: /usr/include/_pack1.h

there's _pack64.h and _packpop.h available too..

--
Martin

Post Reply

Return to “qnx.development_tools”