From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMekF-0004tr-8i for qemu-devel@nongnu.org; Fri, 22 Jan 2016 11:39:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMekC-0001a6-1x for qemu-devel@nongnu.org; Fri, 22 Jan 2016 11:39:31 -0500 Received: from ignoranthack.me ([199.102.79.106]:63325 helo=mail.ignoranthack.me) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMekB-0001XO-Sy for qemu-devel@nongnu.org; Fri, 22 Jan 2016 11:39:27 -0500 Received: from [192.168.200.208] (unknown [50.136.155.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id A8FA4192ADC for ; Fri, 22 Jan 2016 16:39:03 +0000 (UTC) From: Sean Bruno Message-ID: <56A25B27.1040009@freebsd.org> Date: Fri, 22 Jan 2016 08:39:03 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [FreeBSD] Build Failure, qemu-char.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Started seeing a build failure after the updates to qemu-char.c I think clang is not doing something that gcc does implicitly? qemu-char.c:1843:26: error: use of undeclared identifier 'common' chr = qemu_chr_alloc(common, errp); ^ qemu-char.c:4265:36: warning: incompatible pointer types passing 'ChardevCommon *' (aka 'struct ChardevCommon *') to parameter of type 'ChardevBackend *' (aka 'struct ChardevBackend *') [-Wincompatible-pointer-types] return qemu_chr_open_pp_fd(fd, common, errp); ^~~~~~ qemu-char.c:1838:61: note: passing argument to parameter 'backend' here ChardevBackend *backend, -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJWolskXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kdR8H/2UBG5pnCSuKexVqBHyn8coF 85aBuXf5/lz/pPdlU1Wp2wmM/i1isoizxoUYit98hBx4xwu/dFh53CQUPbGgYQBx LoPLkdwavs7bNT7zQ4PeB1Jm4GN7qqK321mOc1GGOmrWkEyl70fGDUUBN1Cjeo7F EULAaAmzrTadPHx2gaHUiEGABPHfPmwevaRLnSIbhjPbqqrf/gBy1w5LFJoDCBid /oOUzJBjzAT1pFz5y3ecyomjz+TUdLtd8LShDcwZtPloheDEvst4UyCg0Sp3z/51 xvk06ZRncTr9Ks5Q+dnVDBKkf3Z8KP0RnX4Kq3q1dTJAXAa4pBcutw8Q7B+29tQ= =75/8 -----END PGP SIGNATURE-----