http://llvm.org/bugs/show_bug.cgi?id=21094
Bug ID: 21094
Summary: clang doesn't switch to c++ compiling mode when the
executable has a number prefix just after ++
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Driver
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 13096
--> http://llvm.org/bugs/attachment.cgi?id=13096&action=edit
linking failure
I have llvm 3.5 installed from source in /opt/llvm35
I've made symlinks to the binaries in /usr/bin
They look like this:
$ ls -l /usr/bin/ | grep clang
clang35 -> /opt/llvm35/bin/clang
clang++35 -> /opt/llvm35/bin/clang++
Then if I compile a simple c++ program, the clang compiler fails to link it.
See the attachment for the build log.
If I rename the clang++ symlink to either clang++ or clang++-3.5 it works fine
--
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