[LLVMbugs] [Bug 3982] New: reject attribute weak on internal variables
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Apr 13 18:03:06 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=3982
Summary: reject attribute weak on internal variables
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
--
ddunbar at 67-218-103-134:tmp$ cat x.c
static int x __attribute__((weak));
ddunbar at 67-218-103-134:tmp$ clang -fsyntax-only x.c
ddunbar at 67-218-103-134:tmp$ gcc -fsyntax-only x.c
x.c:1: error: weak declaration of 'x' must be public
--
--
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