[Interest] CONFIGURING Qt5.11.1 in Visual Studio 2017

Thiago Macieira thiago.macieira at intel.com
Tue Sep 11 18:36:35 CEST 2018


On Tuesday, 11 September 2018 08:32:35 PDT Timothy W. Grove wrote:
> C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include\type_traits(1271):
> error C2338: You've instantiated std::aligned_storage<Len, Align> with
> an extended alignment (in other words, Align > alignof(max_align_t)).
> Before VS 2017 15.8, the member type would non-conformingly have an
> alignment of only alignof(max_align_t). VS 2017 15.8 was fixed to handle
> this correctly, but the fix inherently changes layout and breaks binary
> compatibility (*only* for uses of aligned_storage with extended
> alignments). Please define either (1) _ENABLE_EXTENDED_ALIGNED_STORAGE
> to acknowledge that you understand this message and that you actually
> want a type with an extended alignment, or (2)
> _DISABLE_EXTENDED_ALIGNED_STORAGE to silence this message and get the
> old non-conformant behavior.

Upgrade to 5.11.2.  This is fixed.

(Yes, I know it's not released)

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Interest mailing list