X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com Message-ID: <475D8BFB.7010504@iki.fi> Date: Mon, 10 Dec 2007 20:56:59 +0200 From: Andris Pavenis User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: [PATCH] Fix warnings from dos.h Content-Type: multipart/mixed; boundary="------------000706070002000701020604" Reply-To: djgpp-workers AT delorie DOT com This is a multi-part message in MIME format. --------------000706070002000701020604 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Noticed warnings about use of unnecessary __attribute__((packed)) for char types in include/dos.h when bootstrapping gcc-4.3-20071207. Patch should fix that Andris --------------000706070002000701020604 Content-Type: text/x-patch; name="dos_h_unneeded_packed.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dos_h_unneeded_packed.diff" Index: include/dos.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/dos.h,v retrieving revision 1.12 diff -p -r1.12 dos.h *** include/dos.h 4 Feb 2003 20:23:14 -0000 1.12 --- include/dos.h 10 Dec 2007 18:47:19 -0000 *************** struct _dostime_t { *** 214,225 **** #define dostime_t _dostime_t struct _find_t { ! char reserved[21] __attribute__((packed)); ! unsigned char attrib __attribute__((packed)); unsigned short wr_time __attribute__((packed)); unsigned short wr_date __attribute__((packed)); unsigned long size __attribute__((packed)); ! char name[256] __attribute__((packed)); }; #define find_t _find_t --- 214,225 ---- #define dostime_t _dostime_t struct _find_t { ! char reserved[21]; ! unsigned char attrib; unsigned short wr_time __attribute__((packed)); unsigned short wr_date __attribute__((packed)); unsigned long size __attribute__((packed)); ! char name[256]; }; #define find_t _find_t --------------000706070002000701020604--