[LLVMbugs] [Bug 9712] New: clang 2.8 output does not match gcc 4.4.5 output when using -o option and header file
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Apr 13 17:03:18 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=9712
Summary: clang 2.8 output does not match gcc 4.4.5 output when
using -o option and header file
Product: new-bugs
Version: 2.8
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: johngunderman at gmail.com
CC: llvmbugs at cs.uiuc.edu
Running the following command with gcc 4.4.5 produces a binary called 'client'
gcc client.c cookies_clnt.c cookies.h -o client
However, the same command under clang 2.8 errors:
clang client.c cookies_clnt.c cookies.h -o client
The error output is as follows:
clang: error: cannot specify -o when generating multiple output files
--
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.
More information about the llvm-bugs
mailing list