This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: #pragma interface && generating virtual tables (of templates?)



| I'd say #pragma interface is deprecated, period. If you count the
| trouble you had with it, don't you agree that it wasn't worth it?

It used to be worth it.

| With the new weak and link-once symbols on Linux-ELF, there is hardly
| any use for it anymore.
| 
| Regards,
| Martin

Thank you :).

I deleted all occurances of #pragma interface from my 41 headers,
and the result is:

		   Compile time         Size of resulting
		   on my PPro200        shared library
		   ---------------------------------------
With #pragma       86 s                 1649639 bytes
Without #pragma    86 s                 1663340 bytes

I guess I'll stop using it.

-- 
 Carlo Wood  <carlo@runaway.xs4all.nl>