[llvm-bugs] [Bug 38284] New: clang-cl: missing system include directory when running outside vcvarsall.bat environment

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 24 01:46:46 PDT 2018


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

            Bug ID: 38284
           Summary: clang-cl: missing system include directory when
                    running outside vcvarsall.bat environment
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jeroen.ketema at philips.com
                CC: llvm-bugs at lists.llvm.org

When running clang-cl outside an environment where vcvarsall.bat has not been
run, the directory in which afxwin.h occurs is not automatically picked up as a
system include directory. I understand that running in this configuration is a
best effort only, but it would be nice if the directory in which afxwin.h
occurs can automatically be added by clang-cl.

On my system the directory is as follows:

- VS 2015: C:/Program Files (x86)/Microsoft Visual Studio
14.0/VC/atlmfc/include
- VS 2013: C:/Program Files (x86)/Microsoft Visual Studio
12.0/VC/atlmfc/include
- VS 2012: C:/Program Files (x86)/Microsoft Visual Studio
11.0/VC/atlmfc/include

I currently do not have access to a VS 2017 installation.

-- 
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/20180724/94418df9/attachment.html>


More information about the llvm-bugs mailing list