[LLVMbugs] [Bug 15327] New: clang warns of unused argument '--param ssp-buffer-size=1' when linking but not compiling

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 22 00:14:28 PST 2013


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

            Bug ID: 15327
           Summary: clang warns of unused argument '--param
                    ssp-buffer-size=1' when linking but not compiling
           Product: clang
           Version: 3.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: andersk at mit.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

$ clang --param ssp-buffer-size=1 foo.c
$ clang --param ssp-buffer-size=1 -c foo.c
$ clang --param ssp-buffer-size=1 foo.o
clang: warning: argument unused during compilation: '--param ssp-buffer-size=1'

This inconsistency confuses a mosh (https://github.com/keithw/mosh) autoconf
test into thinking the flag is supported, leading to warnings (or with -Werror,
errors) emitted later in a build.

A followup to http://llvm.org/bugs/show_bug.cgi?id=9673 .

-- 
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/20130222/53c48525/attachment.html>


More information about the llvm-bugs mailing list