[ECOS] Use of "__attribute__"

Rafael Rodríguez Velilla rrv@tid.es
Wed Jun 13 04:36:00 GMT 2001


Ho Shui Choy Stanley PS03B NCS wrote:

> I have a question on the usage of "__attribute__". So far I am able to
> specify which section certain functions reside in, using __attribute__
> ((section (".my_section"))). But I can't do the same for classes, why?

  A class needs to be instantiated to produce something in compilation
time.

  Surely you can use __atribute__ whith an instantiation of a class.




More information about the Ecos-discuss mailing list