Re: long long alignment in structure for GCC 7.2.0 on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2017-12-27 13:50 +0000, Gaoxiang (OS) wrote:

> It prints 0000000000000028 on Windows instead of 0000000000000024 on Linux, it seems weird for the packed struct.
> And I compile the same code with clang on windows ("clang -target x86_64-pc-windows-gnu test.c"), it prints
> 0000000000000024.
> 
> I have no idea what happened, Could someone give some hints?

I think this is PR 52991 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991>.
-- 
Xi Ruoyao <ryxi@xxxxxxxxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux