[mingw:bugs] #190 need pack/alignment attribute in stat.h
2013-01-24 16:37:50 GMT
This list is used to send updates of submitted patches, bug reports and file releases. You are discouraged from posting to this list. If you wish to unsubscribe you can do so at https://lists.sourceforge.net/lists/listinfo/mingw-notify.
- labels: MinGW --> gcc
- status: closed-rejected --> closed
- resolution: --> rejected
- category: --> component_package
- milestone: --> OTHER
[bugs:#190] need pack/alignment attribute in stat.h
Created: Tue Sep 24, 2002 09:52 PM UTC by Dave Spring
Last Updated: Fri Jan 03, 2003 10:31 PM UTC
Owner: Earnie Boyd
using gcc -fpack-struct breaks stuff.
My particular problem is sts/stat.h the alignment
for st_rdev gets overriden.
MSVCRT clearly uses quadbyte alignment for stat.
The fix is somewhere around lines 113,129
- change to:
(4))); /* Seems useless (not even filled in) */
_off_t st_size; /* File size in bytes */
twice for stat and _stat(Continue reading)