Received: from eggs.gnu.org ([208.118.235.92]:55365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAP1H-0003cG-OF for qemu-devel@nongnu.org; Wed, 21 Mar 2012 13:08:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAP1F-0003of-KM for qemu-devel@nongnu.org; Wed, 21 Mar 2012 13:08:19 -0400 Received: from 204.146.238.178.in-addr.arpa ([178.238.146.204]:47083 helo=mail.local) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAP1F-0003oH-As for qemu-devel@nongnu.org; Wed, 21 Mar 2012 13:08:17 -0400 Message-ID: <4F6A0AFF.10805@nowonline.co.uk> Date: Wed, 21 Mar 2012 17:08:15 +0000 From: Lee Essen MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] tracetool: cast const types to avoid compile time warnings List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, =?ISO-8859-1?Q?Andreas_F=E4rber?= , Stefan Hajnoczi On Solaris/Illumos dtrace will remove the "const" qualifier from any arguments when producing the header file, this results in hundreds of compile-time warnings. I have put together a patch to tracetool to cast any const argument appropriately to remove the warnings, but I don't know how it behaves on any other dtrace platform. If the "const" isn't removed then this patch will actually create warnings. Do you see these warnings on any other dtrace platform? If not, then I'll need to make sure the patch is solaris-specific. Thanks, Lee.