http://llvm.org/bugs/show_bug.cgi?id=2919
Summary: gcc regards struct foo and const struct foo as
__builtin_types_compatible_p
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 which clang rejects:
--
int a0[__builtin_types_compatible_p(struct foo,
const struct foo) ? 1 : -1];
--
Reported as problem compiling Dovecot.
--
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