X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; q=dns; s=default; b=fTO+sA UV2vNGzPXiyz79+lHwBZaDNdxbe0y4tGjsABOhMPf5C13n8X2PGB/JHnpoQ8vzM4 9sz2024G+15PEy00gZDAtFRwJgfhs8Ze5ltP2kklIRbDam5PGl8eIzuQSRILW4E/ EDQ4GX1DcALbpTNTnNy4+G1zbMKG1657YE0nw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; s=default; bh=ePloBWnTs508 6/calXqGtTnAz0M=; b=E86g5PMu4Jwp7jYzrHSSxFE+rwenmPlZz+Lm/pAg9/CG zRPTF/TYQtaUYLG2suVqFLAqoomPMj3BPRWUNLPVLPZNypk/SaXi9Ifw+a4enSkM 4zC9bank/RFILeQnXvcwXK+j4hP2qgJmWFEDjKwWSAnXEfSmvkJvhzev5ZUMk+8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_PGP_SIGNED,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 X-Received: by 10.66.102.41 with SMTP id fl9mr35745412pab.169.1373495840050; Wed, 10 Jul 2013 15:37:20 -0700 (PDT) Message-ID: <51DDE210.5020201@gmail.com> Date: Thu, 11 Jul 2013 06:37:04 +0800 From: JonY <10walls AT gmail DOT com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: i686-w64-mingw32-gcc 4.7.3: ignores __attribute__((packed)), regression? References: <51DDDC6B DOT 3090401 AT t-online DOT de> <51DDDFF1 DOT 8090709 AT gmail DOT com> In-Reply-To: <51DDDFF1.8090709@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2XXWEEJLPDEPWGFVMLDBF" X-Virus-Found: No ------enig2XXWEEJLPDEPWGFVMLDBF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 7/11/2013 06:28, JonY wrote: > On 7/11/2013 06:12, Christian Franke wrote: >> >> If #pragma pack(1) is used instead, it works as expected also with >> i686-w64-mingw32-gcc 4.7.3. >> >> (Upstream?) bug ? >> >=20 > Likely, there are no cygwin specific patches applied for it, please > check with gcc-help. >=20 OK, found the issue, try using -mno-ms-bitfields. I am not sure if this workaround is proper. It may break things if you use win32 API and their structs, so please contact gcc upstream to confirm this. ------enig2XXWEEJLPDEPWGFVMLDBF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (MingW32) iQIcBAEBAgAGBQJR3eIVAAoJEHE7X+KcFF1Fy0IQAI8UuZJPbOj5IyebcE7o2yWx YU7f+NjKmxMeeZ8mFx/Eqg4dDa7f+oFklOV3FcpCwIot26nPEAhBCTcGK4rOD/Aj dBsb/2Qpt3KZKH9l+fg9n1yaPXF+NkuYiWWj9j9zD09uOS97yiwqkDC23kuLWsnQ drx9qj22wctyuE5sD2OKGJJqq9Ck6A7TfRQs/Da5o3Ce+/kIaQgf5vBEsHiH9Io5 eSYAUZE4QSHptLB2g3Q/QHxbr0rfAWCGMEp7YmY65yvi9kxyNQP8HfYoYFcdHhSi bg3aUOxqRU4EBw9myK7dnocvXWglqViQFE+AxyQQhrc3xFtNlfDMU4zDpfmsctxt j/DQA0JV37P6Rx2yPTy0SeiuTZNKHrT8iEcvy3DVP5QGrUjaekkC1YbWr2WSU7uW rGepV41LacmjqOYcRtoQ+H3OFIELkvT8LfffckiXOJDAxREU1VmX8Ps/Y+7WxLYh hwrg1lQQTQn7r5s/5FpBzqAMCwZ5ckGZNh2SbU4sLclzoSVMfYpSEh0E4YaeDXJO 3t0D2dyKx4e8yLtkWjDUDFN9M15NgW0hQ4UQpQwDcq1PwnRZumAaL4vgqC6tpwrv LoYxW6iTrcovkixeegHQ31CldsyuQ6F7Lx19Ro7CS7ZPNh3r7IhK5eQu/XM2NgYE 25TKsFrPXII4aIxiEZcV =5NYO -----END PGP SIGNATURE----- ------enig2XXWEEJLPDEPWGFVMLDBF--