[llvm-bugs] [Bug 27393] libClang Cannot Locate Header Files Of User Made Libraries And Projects

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 21 21:25:58 PDT 2016


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

Nkosi <nko12 at comcast.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Nkosi <nko12 at comcast.net> ---
Okay, this is not a bug, but a mistake on my part. I figured that would be the
case.

There are two things I learned:
1. Clang either includes the standard C++ library automatically, or it includes
the standard C++ library included with Visual Studio automatically. In any
case, removing all the includes for the various C++ library and Windows API
header file locations did not change anything.
2. The actual issue. I just realized Clang expects each command line argument
identifier to be concatenated, WITH NO EXTRA SPACE, to the actual command line
argument. In other words
"-I D:\Libraries\ConsoleMenu\include" <- WRONG
"-ID:\Libraries\ConsoleMenu\include" <- RIGHT

I set the status to resolved and invalid, since this was a mistake on my part.
If Invalid is the wrong status, just change it to whatever it needs to 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/20160422/c81962e1/attachment.html>


More information about the llvm-bugs mailing list