From: Keir Fraser Subject: Re: RFC: 32 bits as smallest atomic size. Date: Sun, 27 Mar 2005 11:49:56 +0100 Message-ID: References: <16964.33214.921809.324278@kitch0.watson.ibm.com> <74f362598b4e1a0d46aacb1a514706ac@cl.cam.ac.uk> <16964.41853.43756.836319@kitch0.watson.ibm.com> <16965.40068.388024.929154@kitch0.watson.ibm.com> <21eeeb49a66395420f0c47c7d5327630@cl.cam.ac.uk> <4245FDF0.5040909@blueyonder.co.uk> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <4245FDF0.5040909@blueyonder.co.uk> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: david.nospam.hopwood@blueyonder.co.uk Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org On 27 Mar 2005, at 00:27, David Hopwood wrote: > Keir Fraser wrote: >> On 26 Mar 2005, at 17:31, Jimi Xenidis wrote: >>>>> Few things to note: >>>>> 1) packed is [un]necessary since the ABI will do the right thing >> I prefer to pack things explicitly rather than rely on ABI padding. > > If you use -Wpadded when compiling with gcc then you're not relying on > ABI padding; you're automatically checking that it is not used. That > would seem to be precisely what is required here. If I could specify it on a per-struct basis then it would be perfect. But I do want the normal padding rules to be applied for non-public struct definitions. -- Keir ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click