gcc pragmas

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

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