Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lh9qB-000727-Hc for qemu-devel@nongnu.org; Tue, 10 Mar 2009 17:50:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lh9q8-00070J-P5 for qemu-devel@nongnu.org; Tue, 10 Mar 2009 17:50:23 -0400 Received: from [199.232.76.173] (port=48101 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lh9q8-00070B-Jg for qemu-devel@nongnu.org; Tue, 10 Mar 2009 17:50:20 -0400 Received: from mx.freeshell.org ([192.94.73.19]:56285 helo=sdf.lonestar.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lh9q7-0001j9-RE for qemu-devel@nongnu.org; Tue, 10 Mar 2009 17:50:20 -0400 Received: from sdf.lonestar.org (IDENT:palle@otaku.freeshell.org [192.94.73.2]) by sdf.lonestar.org (8.14.3/8.13.8) with ESMTP id n2ALclHl017453 for ; Tue, 10 Mar 2009 21:38:47 GMT Date: Tue, 10 Mar 2009 21:38:46 +0000 (UTC) From: Palle Lyckegaard Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: [Qemu-devel] Use of asprintf() breaks build on systems where asprintf() is not available Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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)? Regards Palle