6 feb 2010 kl. 19.01 skrev Eli Friedman:
> 
> Do you need to check the linkage of the containing function?  A static
> variable inside a function in an anonymous namespace, for example,
> shouldn't have weak linkage.

Hmm, yeah - maybe it's just simpler to check if the containing function has 
weak linkage?

Anders

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to