- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a way to determine current packing option is 8 or 16? I mean some code like:
struct CHK { uint8_t first; uintmax_t large; }; u = offsetof( CHK, large );
or some predefined macro like __LINE__?
Thanks!
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It appears that icc doesn't have such a macro. If gcc has one, we can submit a feature request to icc team.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know about gcc features, I'm msvc/icl user. Thanks!
Btw, what is the purpose of 16-pack, if the maximum POD size is 8?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page