Subject: Re: mklocale, take 2
To: None <tech-toolchain@netbsd.org>
From: Richard Earnshaw <rearnsha@arm.com>
List: tech-toolchain
Date: 10/22/2001 15:00:03
> 
> >> Struct packing, as the discussion has pointed out, shouldn't be
> >> ignored.)
> > That's simply wrong.   Any code that depends upon struct packing, or
> > anything related to alignment, for anything related to code
> > correctness (as distinct from efficiency) is simply broken.
> 
> This I have to disagree with.  Not all code is intended to be portable
> to the entire known universe, or is "broken" if it's not.

Well, someday someone will probably try and port NetBSD to a machine with 
no native 16-bit sized entity (much the same as a cray); then they will 
have lots of fun trying to make the inet code work, since that's full of 
packed structs with 16-bit entities.