On Feb 20, 2013, at 9:45 AM, Rafael Espíndola <[email protected]> wrote: >> 2.) Visibility of specializations. Might need clang changes. >> > .... >> The specialization is explicitly marked as visible, and since string >> is in a system header I can't change its visibility. Is this also an >> intended change? > > This reduces to > > ------------------- > class foo { > }; > > template<typename T> > class bar { > void g(); > }; > > template<> > __attribute__((visibility("default"))) void bar<foo>::g(); > > template<> > void bar<foo>::g() { > } > ------------------------- > > Which looks like an unintended change. John, do you agree?
Yes, I think this definition clearly ought to get default visibility regardless of compilation settings. John. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
