[llvm-bugs] [Bug 41061] New: operator<=> fails on Windows with Visual Sutdio 2019 Preview

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 13 15:51:15 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41061

            Bug ID: 41061
           Summary: operator<=> fails on Windows with Visual Sutdio 2019
                    Preview
           Product: clang
           Version: 7.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++2a
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david at doublewise.net
                CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
                    llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk

When compiling code that uses std::strong_ordering using clang and Visual
Studio 2019 Preview 4.2, I get the following error message:

error : standard library implementation of 'std::strong_ordering' is not
supported; the type does not have the expected form





Sample test file:


#include <compare>

auto x = 0 <=> 0;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190313/b505751a/attachment.html>


More information about the llvm-bugs mailing list