avoid deprecated methods
Jaime Torres
kde-optimize@mail.kde.org
Tue, 4 Feb 2003 11:00:00 +0100
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C2CC34.2E712D50
Content-Type: text/plain;
charset="iso-8859-1"
Hello,
Is it possible to include a new configure option to avoid the use of
deprecated methods ?
I think of it as defining a DEPRECATED (or something like that) and
putting
all the deprecated methods (more than 300 in kdelibs ) between
#ifdef DEPRECATED
deprecated method
#endif
I see two advantages on this:
* There is a simple way to ensure that all the kde pakcages will use
non-deprecated methods
* If there is someone that does not care about compatibility with kde3.0,
the size of the kde will be reduced (asuming 1k per method, in more than
300k).
Regards.
------_=_NextPart_001_01C2CC34.2E712D50
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>avoid deprecated methods</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Hello,</FONT>
</P>
<P><FONT SIZE=2> Is it possible to include a new configure option to avoid the use of</FONT>
<BR><FONT SIZE=2>deprecated methods ?</FONT>
</P>
<P><FONT SIZE=2> I think of it as defining a DEPRECATED (or something like that) and putting</FONT>
<BR><FONT SIZE=2>all the deprecated methods (more than 300 in kdelibs ) between </FONT>
</P>
<P><FONT SIZE=2>#ifdef DEPRECATED</FONT>
<BR><FONT SIZE=2> deprecated method</FONT>
<BR><FONT SIZE=2>#endif</FONT>
</P>
<P><FONT SIZE=2> I see two advantages on this:</FONT>
<BR><FONT SIZE=2>* There is a simple way to ensure that all the kde pakcages will use</FONT>
<BR><FONT SIZE=2> non-deprecated methods</FONT>
<BR><FONT SIZE=2>* If there is someone that does not care about compatibility with kde3.0, </FONT>
<BR><FONT SIZE=2> the size of the kde will be reduced (asuming 1k per method, in more than 300k).</FONT>
</P>
<P><FONT SIZE=2>Regards.</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C2CC34.2E712D50--