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

Otavio Salvador otavio at debian.org
Mon Dec 11 10:10:42 CET 2006


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

>>> To wake up the programmer using libparted, do you still want to use
>>> ped_exception_throw to display an exception of type INFORMATION, or
>>> want to use something different?
>
>> The exception will disturb the user in a way that is not
>> acceptable.  We want to wake up the programmer, not the user, and this
>> is best done at compile time.
>
> 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.

-- 
        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