Simon Goldschmidt escreveu:

The array problem that has already been explained exists to make
> sure the following structs are aligned correctly. However, since
> alignment is effectively switched off with packing, this can't
> be the reason!

Sorry to disagree. we are not talking about space within a stuct but from one to the other. Even if structs are packet, they can be aligned :)

IMHP the appropriate pack/unpack files of each compiler should be included somewhere, so that any new user can use it :)

Included in the lwIP distro? I don't think so: Compilers often
> change and we can't keep a list of all the compilers in the world.
> It's up to the one that ports lwIP to a specific platform to
> define the correct structure packing macros/files.

At least a small effort could be made to keep the ones that have already been made. It would help a lot of people as it is difficult to find out. You would then be amazed how few are really different, and small differences are easy to fix.

Alain



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to