changeset 4416:ac8d871b6075

Oops, some text was missing.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 31 Mar 2008 17:27:50 +0300
parents 2c3390afe10e
children 7df56e5ec76b 35444232ac7e
files HACKING
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/HACKING	Mon Mar 31 17:21:21 2008 +0300
+++ b/HACKING	Mon Mar 31 17:27:50 2008 +0300
@@ -53,7 +53,10 @@
   equal to some other platform.
 
   Some clever people might think that making struct "packed" via the
-  C packed qualifier would be a solution, but this will
+  C packed qualifier would be a solution, but this will cause problems
+  on platforms which require words to be aligned in memory - so it
+  "works" on x86 (with performance penalty), but will fail with bus error
+  on elsewhere.
 
   What you SHOULD do is read individual members of the struct one by one
   from the stream. This may sound bothersome, but by doing so, your code