[cfe-commits] [QUESTION] - funky declaration
John Thompson
john.thompson.jtsoftware at gmail.com
Mon Jul 26 16:07:39 PDT 2010
Could someone comment on bug 7035. Is it a legitimate problem?:
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.
--
John Thompson
John.Thompson.JTSoftware at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100726/1364ba50/attachment.html>
More information about the cfe-commits
mailing list