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

           Summary: command line switch -- isn't supported, openssl
                    crashes
           Product: clang
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


The switch -- by convention signalizes, that each value after that shouldn't be
interpreted as an option, so you can for example compile:

clang -- -hello.c

openssl crash:
>>> Compiling source in 
>>> /var/tmp/portage/dev-libs/openssl-1.0.0e/work/openssl-1.0.0e ...
make -j3 -j1 depend 
making depend in crypto...
make[1]: Entering directory
`/var/tmp/portage/dev-libs/openssl-1.0.0e/work/openssl-1.0.0e/crypto'
clang: error: unsupported option '--'
clang: error: unsupported option '--'
mv: cannot stat `Makefile.new': No such file or directory
make[1]: *** [depend] Error 1
make[1]: Leaving directory
`/var/tmp/portage/dev-libs/openssl-1.0.0e/work/openssl-1.0.0e/crypto'
make: *** [depend] Error 1

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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