Subject: Re: CVS commit: basesrc/usr.bin/file
To: Frank van der Linden <fvdl@wasabisystems.com>
From: None <itojun@iijlab.net>
List: tech-userlevel
Date: 06/05/2002 22:13:39
>This works fine with gcc, but the problem is that this code is
>compiled with HOST_CC (to cross-build the magic file using
>mkmagic). HOST_CC may not be gcc, and thus not know the packed
>attribute.
>So, it most be solved in another way, probably by padding
>struct file in such a way that it's the same on all archs.

	are there any standard way to enforce certain struct packing?
	i've heard that some of embedded compilers even reorder members...
	(maybe it is just for some embedded C compiler, but it worries me)

itojun