[parted-devel] Deprecate ped[register|unregister]_disk_type

Otavio Salvador otavio at debian.org
Mon Dec 11 13:45:18 CET 2006


"Debarshi Ray" <debarshi.ray at gmail.com> writes:

>> > If the distribution has a copy of libparted compiled with
>> > -DDEPRECATED_20, then how will we alert the user of the library if he
>> > is using the deprecated functions? I am not an expert with
>> > Autoconf/Automake, so does it have something to do with them?
>>
>> We would warn the user just if he's compiling something about
>> libparted otherwise, if he's using the already compiled program,
>> there's no need to warn him since isn't his fault the deprecated
>> method use.
>
> That is alright, but how exactly will we achieve this?

It'll achived if we use my proposed way of doing the __deprecated
mark.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio at debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."



More information about the parted-devel mailing list