[llvm-bugs] [Bug 25789] New: clang cant parse command options in quotes

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Dec 9 09:14:34 PST 2015


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

            Bug ID: 25789
           Summary: clang cant parse command options in quotes
           Product: clang
           Version: 3.7
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: red.skotina at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

meson build system and ninja generate command for clang++ like

clang++ "-Wall" "-target i686-pc-win" ../cppwebpage.cpp

Clang look like cant find any option in quotes with spaces.
clang++.exe: error: unknown argument: '-target i686-pc-win'

When i extract option from quotes it is work as indeed.
clang++ "-Wall" -target i686-pc-win ../cppwebpage.cpp

-- 
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/20151209/78636b76/attachment.html>


More information about the llvm-bugs mailing list