- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bug in ICL (for windows?) 32 bit (check in 9.1 and 10.1)
#pragma pack(1)
typedef struct {
char a;
long double ld;
char b;
}test_t;
#pragma pack()
test_t test = { 'a', 0, 'b' };
When compile with /Qlong-double
place for test.ld is 16byte, and MUST be 10byte
#pragma pack(1)
typedef struct {
char a;
long double ld;
char b;
}test_t;
#pragma pack()
test_t test = { 'a', 0, 'b' };
When compile with /Qlong-double
place for test.ld is 16byte, and MUST be 10byte
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can confirm this to be true for 32-bit and 64-bit ICC 10.1.011 for Windows. You should submit an issue on the premier support website.
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