http://llvm.org/bugs/show_bug.cgi?id=3894
Summary: clang rejects address of void
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Clang rejects this, GCC doesn't:
extern void y;
void a() {
void *x = &y;
}
t.c:5:11: error: address expression must be an lvalue or a function designator
void *x = &y;
^~
--
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