From owner-freebsd-hackers Fri Sep 14 2: 3:42 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 76C2837B40B; Fri, 14 Sep 2001 02:03:40 -0700 (PDT) Received: from mindspring.com (dialup-209.245.133.204.Dial1.SanJose1.Level3.net [209.245.133.204]) by swan.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id CAA01716; Fri, 14 Sep 2001 02:03:38 -0700 (PDT) Message-ID: <3BA1C819.65D72D4B@mindspring.com> Date: Fri, 14 Sep 2001 02:04:25 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Mike Smith Cc: Yar Tikhiy , hackers@freebsd.org, msmith@mass.dis.org Subject: Re: Driver structures & alignment References: <200109132309.f8DN9vX03967@mass.dis.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mike Smith wrote: > Having said that, I recommend using __attribute__ ((packed)) > to explicitly request that a structure be packed. Is there a problem with "#pragma pack(1)"? I see it in a lot of header files... do they need changing? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message