Compiling with -fpack-struct yields wrong results

Maria maria@kls-logistic.fr
Mon Jan 22 07:38:00 GMT 2001


Hello,

When compiling my program with -fpack-struct, fstat returns the wrong
result !!!

I suggest redefining "struct stat" with the packed attribute in the
corresponding include file. Or at least to add something about it in the
FAQ.

I think the problem is common to all non-aligned structures.








--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list