[Asterisk-Dev] Re: Makefile changes in CVS HEAD

Kevin P. Fleming kpfleming at digium.com
Mon Jun 6 15:03:20 MST 2005


Tony Mountifield wrote:

> Using GCC file-scope constructors allows the ids to be registered
> without needing explicit init calls for each file.

Thanks for the pointer, Tony! This technique works fine, including even 
destructors at module unload time, so I've implemented it in CVS HEAD, 
with a new 'show version files' CLI command to display the revision 
tags. Next time you open a bug in Mantis I'll shoot you some extra karma 
points :-)



More information about the asterisk-dev mailing list