Project Home
Project Home
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 - _pack64.h bug?: Page 1 of 3 (3 Items)
   
_pack64.h bug?  
Code snippet from _pack64.h:
#if defined(__WATCOMC__)
 #pragma pack(__push,8);
#elif defined(__HIGHC__)
 #pragma push_align_members(64);
#elif defined(__GNUC__)
 #if defined (__PRAGMA_PACK_PUSH_POP__)
  #pragma pack(push, 0)
 #else 
  #pragma pack()
 #endif
#elif defined(__INTEL_COMPILER)
 #pragma pack(push, 0)
#elif defined(__MWERKS__)
#else
 #error Compiler not supported
#endif
I find that I am getting compile errors from the line:   #pragma pack(push, 0)

The errors are attributed to no ";" at the end of the line. Note that some other #pragma lines DO have the ";"

Is there a bug in this particular header?