J.-P. Pellet wrote:
I'm having problems tagging a template with a gccxml attribute.If I tag a class like this: class __attribute((gccxml("MyAttribute"))) SomeClass {}; then, sure enough, I get MyAttribute in gccxml's output. However, if I try template<typename T> class __attribute((gccxml("MyAttribute"))) SomeClass {};then MyAttribute seems to be lost when a template is instantiated. What am I doing wrong here?
I don't know what gcc does with attributes on templates during instantiation. I know gccxml does nothing special about it. You'll have to check the standard GCC documentation for __attribute. Good luck, -Brad _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.gccxml.org/mailman/listinfo/gccxml
