[llvm-bugs] [Bug 33735] New: Clang cannot parse xstring in Visual Studio 2017
llvm-bugs at lists.llvm.org
Mon Jul 10 12:29:15 PDT 2017
Bug ID: 33735
Summary: Clang cannot parse xstring in Visual Studio 2017
OS: Windows NT
Assignee: unassignedclangbugs at nondot.org
Reporter: dpldobrev at protonmail.com
CC: klimek at google.com, llvm-bugs at lists.llvm.org
I get the following error when parsing:
c:/Program Files (x86)/Microsoft Visual
constexpr variable '_Memcpy_move_offset' must be initialized by a constant
static constexpr size_t _Memcpy_move_offset = offsetof(_Mydata_t, _Bx);
I understand this is a non-conforming C++ construct. However, shouldn't there
be a way for Clang to cope with it by using a certain set of flags? Shouldn't
"-fms-extensions" and/or "-fms-compatibility" have worked?
The same bug has been asked about at
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs