Mail Archives: djgpp/2001/04/17/11:17:34
Eli Zaretskii schrieb:
> You could probably make it work with the `-fpack-struct' switch, but
> I'd suggest not to try: it's a futile exercise.
>
> Either you need to read this struct from a program compiled by a
> different compiler than the one used to write the struct, or you
> don't. If you do need this, the best way is to read the data as a
> byte stream into a buffer, then unpack the buffer into the struct
> manually. But the best alternative is to read and write the file by
> programs compiled with the same compiler.
That's what I was afraid of. so I have to port all that huge project,
data generation as well as data visualization - sigh.
But thanks for the instant reply anyway.
--
Gruss Waldemar Schultz.
Technische Universität München, Zentrum Mathematik M1, D 80290 München
Tel: +49 (0)89 2892 8226 FAX: +49 (0)89 2892 8228
- Raw text -