[LLVMbugs] [Bug 19963] New: -nodefaultlibs option always generates a warning

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 5 17:04:12 PDT 2014


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

            Bug ID: 19963
           Summary: -nodefaultlibs option always generates a warning
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: srhines at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Clang's driver always generates the following warning, even when -nodefaultlibs
is used as a valid argument/flag.

clang: warning: argument unused during compilation: '-nodefaultlibs'

There is no path in Driver.cpp where this argument is claimed, so it ends up
being passed along as one of the source file inputs (where it actually is
ignored/unused).

-- 
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/20140606/f4ef8f41/attachment.html>


More information about the llvm-bugs mailing list