Re: [xml] xmlCleanupParser() question / patch



Aleksey Sanin wrote:
I am sure you know about "__attribute__ ((deprecated))" :)


This is gcc, right?

I just discovered that the Microsoft compiler apparently has
__declspec(deprecated)
for this purpose.

br,
Martin

Aleksey


On 1/19/2010 7:47 AM, Daniel Veillard wrote:
On Tue, Jan 19, 2010 at 04:38:24PM +0100, Martin B. wrote:
Daniel Veillard wrote:
Best thing would be if xmlCleanupParser() would be removed completely, no?

  That is impossible, for ABI compatibility,


Ah OK. In that case the best thing would be to have the function in
the ABI but get a compiler error if it's used with the newer
headers. Don't have a clue how that could magically be achieved
though :-)

   Yeah, no idea how to do that ! Unfortunately :-\

Daniel





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]