qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Use of asprintf() breaks build on systems where asprint


From: Anthony Liguori
Subject: Re: [Qemu-devel] Use of asprintf() breaks build on systems where asprintf() is not available
Date: Wed, 11 Mar 2009 08:52:18 -0500
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Daniel P. Berrange wrote:
On Tue, Mar 10, 2009 at 05:00:25PM -0500, Anthony Liguori wrote:
Palle Lyckegaard wrote:
Hi,

A few source-files, e.g. vnc.c, makes use of the (non-portable?) asprintf() function, which is not available in e.g. Solaris 10 and certain builds of OpenSolaris.

What would be the proper "qemu" way of solving this problem? Creating a library with the functions not avilable on the host system or replacing the non-portable use(s) of the function(s) with proper portable function(s)?
Can you send in a patch to add the gnulib asprintf() with an appropriate configure test?

I think it is just easier to remove the use of asprinf() from vnc.c It is
only used once and not really all that hard to remove.

That would be good too.

Regards,

Anthony Liguori

Daniel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]