This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Compiling with -fpack-struct yields wrong results
- To: cygwin at cygwin dot com
- Subject: Compiling with -fpack-struct yields wrong results
- From: Maria <maria at kls-logistic dot fr>
- Date: Mon, 22 Jan 2001 16:39:37 +0100
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