[LLVMbugs] [Bug 21974] New: clang-cl: Disable trigraphs by default

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 18 14:59:21 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=21974

            Bug ID: 21974
           Summary: clang-cl: Disable trigraphs by default
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

http://msdn.microsoft.com/en-us/library/ee462497.aspx

"When /Zc:trigraphs is specified, the compiler replaces a trigraph character
sequence by using a corresponding punctuation character. To turn off trigraph
substitution, specify /Zc:trigraphs-. By default, /Zc:trigraphs is off."

Yet:
http://build.chromium.org/p/chromium.fyi/builders/CrWinClang/builds/912/steps/compile/logs/stdio

..\..\sandbox\win\src\win_utils_unittest.cc(103,18) :  warning(clang): trigraph
converted to '\' character [-Wtrigraphs]
  pipe_name = L"/??/pipe/mypipe";
                 ^

Looks like it's not off by default in clang-cl. It should be.

-- 
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/20141218/6a6e2106/attachment.html>


More information about the llvm-bugs mailing list