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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to