[llvm-bugs] [Bug 41132] New: clang 8 RC 5 fails to compile <filesystem> on Visual Studio 2017 and Visual Studio 2019 with c++latest

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 18 16:25:40 PDT 2019


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

            Bug ID: 41132
           Summary: clang 8 RC 5 fails to compile <filesystem> on Visual
                    Studio 2017 and Visual Studio 2019 with c++latest
           Product: clang
           Version: 8.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david at doublewise.net
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

The following program fails to compile with `/std:c++latest`:

#include <filesystem>




When using Visual Studio 2017's standard library:

C:\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\experimental/filesystem(45):
error : declaration of anonymous struct must be a definition

And when using Visual Studio 2019s:

4>C:\Program Files (x86)\Microsoft Visual
Studio\2019\Preview\VC\Tools\MSVC\14.20.27404\include\experimental/filesystem(45):
error : declaration of anonymous struct must be a definition



The relevant line is:

            struct char8_t; // flag for UTF8

-- 
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/20190318/2a3abe22/attachment-0001.html>


More information about the llvm-bugs mailing list