[llvm-bugs] [Bug 36648] New: clang-cl silently ignores -working-directory on windows
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Mar 8 04:16:30 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=36648
Bug ID: 36648
Summary: clang-cl silently ignores -working-directory on
windows
Product: clang
Version: 5.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: daan.j.demeyer at gmail.com
CC: llvm-bugs at lists.llvm.org
Created attachment 20024
--> https://bugs.llvm.org/attachment.cgi?id=20024&action=edit
Minimal reproduce of issue (follow instructions in comment)
I've included an attachment which reproduces the issue.
- Extract reproduce.zip and enter the root directory (with src and test
subfolders)
- "clang++.exe -I../test -working-directory=src main.cpp" succeeds
- "clang-cl.exe -I../test -working-directory=src main.cpp" fails with:
clang-cl.exe: error: no such file or directory: 'main.cpp'
clang-cl.exe: error: no input files
clang-cl gives no warning that -working-directory is ignored. Ideally
-working-directory should either work for clang-cl.exe or a warning should be
given so that users know the option is being ignored by clang-cl.exe
--
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/20180308/9478bac0/attachment.html>
More information about the llvm-bugs
mailing list