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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to