Re: [fpc-pascal] howto find alternatives for deprecated fucntions?

2015-09-28 Thread Jonas Maebe
Klaus Hartnegg wrote on Mon, 28 Sep 2015: What can I use instead of Sock2Text? That's also deprecated. That is part of the "X wanted to remove that functionality altogether and deprecating it was a first step, and Y wanted to keep it". Eventually, it will probably be moved to a separate

Re: [fpc-pascal] howto find alternatives for deprecated fucntions?

2015-09-28 Thread Klaus Hartnegg
What can I use instead of Sock2Text? That's also deprecated. Am 16.09.2015 um 16:50 schrieb Klaus Hartnegg: www.freepascal.org/docs-html/rtl/sockets/accept.html says that accept is deprecated. Whould I switch to fpaccept eventhough that can do a lot less? I hope that Sock2Text works there as

Re: [fpc-pascal] howto find alternatives for deprecated fucntions?

2015-09-21 Thread Marco van de Voort
In our previous episode, Jonas Maebe said: > > [sock2text etc] > > If I had had my way, the whole shebang would have been removed in 2.0.0, but > > that was deemed to drastic. > > It's more that some people (including me) didn't agree that those > routines should be deprecated and removed at

Re: [fpc-pascal] howto find alternatives for deprecated fucntions?

2015-09-21 Thread Jonas Maebe
marcov wrote on Wed, 16 Sep 2015: [sock2text etc] If I had had my way, the whole shebang would have been removed in 2.0.0, but that was deemed to drastic. It's more that some people (including me) didn't agree that those routines should be deprecated and removed at all. Jonas

Re: [fpc-pascal] howto find alternatives for deprecated fucntions?

2015-09-17 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In an ideal world every occurance of the word deprecated in the docs would be accompanied by the info which is the alternative. In an ideal world people would have updated code that used these functions in 2005 when 2.0 came out :-) Documentation is not meant to

[fpc-pascal] howto find alternatives for deprecated fucntions?

2015-09-16 Thread Klaus Hartnegg
Hi, if the docs and the compiler say that a function is deprecated, how can I find out which other function should be used instead? Example: www.freepascal.org/docs-html/rtl/sockets/accept.html says that accept is deprecated. Whould I switch to fpaccept eventhough that can do a lot less? I

Re: [fpc-pascal] howto find alternatives for deprecated fucntions?

2015-09-16 Thread Graeme Geldenhuys
On 2015-09-16 15:50, Klaus Hartnegg wrote: > if the docs and the compiler say that a function is deprecated, how can > I find out which other function should be used instead? I suggest you report those as a bug in FPC, and a bug in the Documentation. The Object Pascal language supports the

Re: [fpc-pascal] howto find alternatives for deprecated fucntions?

2015-09-16 Thread Marco van de Voort
In our previous episode, Klaus Hartnegg said: > if the docs and the compiler say that a function is deprecated, how can > I find out which other function should be used instead? Reading release manifests?