Re: [cfe-users] Clang Sizeof give diff value for Microsoft and Linux

2021-02-18 Thread David Blaikie via cfe-users
> > Vivek > > > > *From:* David Blaikie > *Sent:* Thursday, February 18, 2021 2:50 AM > *To:* Vivek Pandey > *Cc:* cfe-users@lists.llvm.org; Manu Agarwal < > manu.agar...@tallysolutions.com>; Tuhin Sengupta < > tuhin.sengu...@tallysolutions.com> > *S

Re: [cfe-users] Clang Sizeof give diff value for Microsoft and Linux

2021-02-18 Thread Vivek Pandey via cfe-users
s.llvm.org>; Manu Agarwal mailto:manu.agar...@tallysolutions.com>>; Tuhin Sengupta mailto:tuhin.sengu...@tallysolutions.com>> Subject: Re: [cfe-users] Clang Sizeof give diff value for Microsoft and Linux Clang on Windows is designed to be compatible with MSVC - which has different layout

Re: [cfe-users] Clang Sizeof give diff value for Microsoft and Linux

2021-02-17 Thread Vivek Pandey via cfe-users
Sengupta Subject: Re: [cfe-users] Clang Sizeof give diff value for Microsoft and Linux Clang on Windows is designed to be compatible with MSVC - which has different layout requirements than the Itanium ABI/GCC on Linux. I don't think there's a way to use the same ABI on both platforms -

Re: [cfe-users] Clang Sizeof give diff value for Microsoft and Linux

2021-02-17 Thread David Blaikie via cfe-users
lt; > manu.agar...@tallysolutions.com>; Tuhin Sengupta < > tuhin.sengu...@tallysolutions.com> > *Subject:* Re: [cfe-users] Clang Sizeof give diff value for Microsoft and > Linux > > > > Clang on Windows is designed to be compatible with MSVC - which has > different layout

Re: [cfe-users] Clang Sizeof give diff value for Microsoft and Linux

2021-01-28 Thread David Blaikie via cfe-users
Clang on Windows is designed to be compatible with MSVC - which has different layout requirements than the Itanium ABI/GCC on Linux. I don't think there's a way to use the same ABI on both platforms - especially not if you are interacting with any code compiled by another compiler on both platforms