[LLVMbugs] [Bug 17107] New: Using "-nostdinc++" throws a clang warning.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 5 03:42:07 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17107

            Bug ID: 17107
           Summary: Using "-nostdinc++" throws a clang warning.
           Product: libc++
           Version: 3.2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: hhinnant at apple.com
          Reporter: gonzalobg88 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Quoting the docs in http://libcxx.llvm.org/ :

"clang++ -std=c++11 -stdlib=libc++ -nostdinc++ -I<path-to-libcxx>/include
-L<path-to-libcxx>/lib test.cpp"

However, the flag "-nostdinc++" results in the following warning:
clang: warning: argument unused during compilation: '-nostdinc++'

-- 
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/20130905/5fec9509/attachment.html>


More information about the llvm-bugs mailing list