[llvm-bugs] [Bug 43651] New: Add support to -Wa,-W in clang

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 11 11:48:37 PDT 2019


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

            Bug ID: 43651
           Summary: Add support to -Wa,-W in clang
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: caij2003 at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Currently clang does not support -Wa,-W.

$ cat test.c 


int main () {return 0;}
$ clang -Wa,-W test.c 
clang: error: unsupported argument '-W' to option 'Wa,'



>From man page of GNU as:

       -W
       --no-warn
           Suppress warning messages.

We need this option for gcc compability.

-- 
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/20191011/8dfd12ed/attachment.html>


More information about the llvm-bugs mailing list