[cfe-dev] Question about sizeof(long double) on Win64
Eli Friedman
eli.friedman at gmail.com
Tue Mar 22 14:32:43 PDT 2011
On Tue, Mar 22, 2011 at 1:53 PM, John Wiegley <johnw at boostpro.com> wrote:
> My team has been working on Win64 support, and we've learned that sizeof(long
> double) is 8 bytes under Visual Studio (cl.exe), but 16 bytes under Clang with
> -triple x86_64-win-pc32. Would the following change to the constructor for
> WindowsX86_64TargetInfo be considered appropriate? I imagine no one has run
> into this discrepancy because people aren't using Win64 support much?
>
> If this is an OK change to make, let me know and I'll commit.
The idea is fine, but not the implementation; should be fixed with r128110.
-Eli
More information about the cfe-dev
mailing list