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

            Bug ID: 42066
           Summary: clang-cl with /P and /Brepro fails with a cryptic
                    error message
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangb...@nondot.org
          Reporter: brucedaw...@chromium.org
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

Bug https://bugs.llvm.org/show_bug.cgi?id=38508 reported a host of errors when
preprocessing a file in the context of the Chromium build. Most of those errors
were fixed but one remains. I started with the repro steps from the previous
bug but I managed to reduce it greatly.

c:\src\chromium3\src\out\release>type test.cpp
int x;

c:\src\chromium3\src\out\release>..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe
/P /Brepro /c test.cpp
clang-cl: warning: argument unused during compilation:
'-mno-incremental-linker-compatible' [-Wunused-command-line-argument]

That's it. I don't know *why* /Brepro triggers this error message, but it does.

Preprocessing files is a valuable investigative technique so getting this to
work again would be great.

-- 
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