[LLVMbugs] [Bug 7035] New: Qualifiers with extern?
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon May 3 19:25:13 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7035
Summary: Qualifiers with extern?
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: John.Thompson.JTSoftware at gmail.com
CC: llvmbugs at cs.uiuc.edu
namespace A {
void f();
}
extern void A::f();
clang -cc1 extqual.cpp
extqual.cpp:4:16: error: out-of-line declaration of a member must be a
definition
extern void A::f();
~~~^
This compiles in gcc. It appears gcc allows a lot of things I wouldn't expect.
--
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