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

            Bug ID: 42230
           Summary: r362459's unit test hits a bug in MSVC that causes it
                    to fail to build
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangb...@nondot.org
          Reporter: erich.ke...@intel.com
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@metafoo.co.uk

As RKSimon mentions here: https://reviews.llvm.org/rL362459#change-mx46UHL2Colz

Compiling check-all on MSVC with Werror causes the unit test
DependencyDirectivesSourceMinimizerTest.cpp to fail to build due to the comma
issue mentioned.

This is actually because of the MSVC bug listed here: 
https://developercommunity.visualstudio.com/content/problem/67300/stringifying-raw-string-literal.html

Here is a minimization of this issue here: https://godbolt.org/z/RFcVcb . 
Change one of the outputs to use /E  to see the mess that MSVC makes out of
this while stringifying them :)

I suspect the MinimizeSourceToDependencyDirectivesTest, RawStringLiteral test
might need disabling in the meantime.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to