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
[email protected]
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to