http://llvm.org/bugs/show_bug.cgi?id=2586
Summary: clang is less permissive than gcc in accepting function
redefinitions
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
gcc accepts the following code with a warning, whereas clang rejects
it.
--
void foo(void *);
foo(void *pfile) {
}
--
gcc even accepts
--
void foo(void *, int);
foo(void *pfile) {
}
--
--
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