From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:43863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qxypd-0006uh-J9 for qemu-devel@nongnu.org; Mon, 29 Aug 2011 06:12:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qxypc-0003UE-1W for qemu-devel@nongnu.org; Mon, 29 Aug 2011 06:12:41 -0400 Received: from thoth.sbs.de ([192.35.17.2]:28323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qxypb-0003Rc-Ku for qemu-devel@nongnu.org; Mon, 29 Aug 2011 06:12:40 -0400 Message-ID: <4E5B660F.1020607@siemens.com> Date: Mon, 29 Aug 2011 12:12:31 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1314564200-6872-1-git-send-email-weil@mail.berlios.de> <1314564200-6872-8-git-send-email-weil@mail.berlios.de> In-Reply-To: <1314564200-6872-8-git-send-email-weil@mail.berlios.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 7/7] slirp: Fix packing for w32 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: QEMU Developers On 2011-08-28 22:43, Stefan Weil wrote: > Use QEMU_PACKED to eliminate the effects of compiler option > -mms-bitfields. > > Cc: Jan Kiszka > Signed-off-by: Stefan Weil > --- > slirp/slirp.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/slirp/slirp.h b/slirp/slirp.h > index dcf99d5..28a5c03 100644 > --- a/slirp/slirp.h > +++ b/slirp/slirp.h > @@ -199,7 +199,7 @@ struct arphdr { > uint32_t ar_sip; /* sender IP address */ > unsigned char ar_tha[ETH_ALEN]; /* target hardware address */ > uint32_t ar_tip; /* target IP address */ > -} __attribute__((packed)); > +} QEMU_PACKED; > > #define ARP_TABLE_SIZE 16 > There are further cases in slirp. Please address them as well. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux