[Asterisk-Dev] removing depreciated code?

Roy Sigurd Karlsbakk roy at karlsbakk.net
Sat Sep 24 08:59:10 MST 2005


>> Are you sure this is a good thing? Having the backward  
>> compatibility  is one thing, but then if something doesn't work,  
>> the general answer  from
>>
>
> perhaps a solution could be found by #ifdefing the deprecated code  
> around say, DEPRECATED_1.2, and then making it a compile time  
> option in the makefile to either build with backward compatibility  
> or to have it removed for those who'd prefer it without the  
> deprecated code.
>
> i'm making the big assumption here however that it's as simple as  
> wrapping ifdefs around the code which needs to be taken out.

that sounds to me a brilliant idea. that way it will be possible to  
try out and test a clean 1.2 installation..

roy



More information about the asterisk-dev mailing list