$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] BOOST_NO_CXX11_CONSTEXPR and msvc-14.0
From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2015-07-21 21:16:27
Stephan T. Lavavej wrote:
> Was this reported on Connect? I didn't see any bug reports filed against the STL.
I don't know if it was reported on Connect; it was reported to me,
along with a few other library bugs in VC14.
> I've filed DevDiv#1202506 "alignof reports inaccurate values" with the repro at the end of this mail.
To be fixed in VC15? :-)
> If you can demonstrate x86 PMD failure, or x86/x64 PMF failure, I'll add that to the bug report.
Replacing "struct Meow { };" with "struct Meow;" and on x86 I see:
nullptr_t
AlignmentOf<T>::value = 4
alignof(T) = 1 <== FAIL
PMD
AlignmentOf<T>::value = 8
alignof(T) = 4 <== FAIL
PMF
AlignmentOf<T>::value = 8
alignof(T) = 4 <== FAIL
While on x64 with that same change I see:
nullptr_t
AlignmentOf<T>::value = 8
alignof(T) = 1 <== FAIL
PMD
AlignmentOf<T>::value = 4
alignof(T) = 8 <== FAIL
PMF
AlignmentOf<T>::value = 8
alignof(T) = 8
Glen