[llvm-bugs] [Bug 42230] New: r362459's unit test hits a bug in MSVC that causes it to fail to build

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 11 06:18:00 PDT 2019


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: unassignedclangbugs at nondot.org
          Reporter: erich.keane at intel.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190611/22424d52/attachment.html>


More information about the llvm-bugs mailing list