---------- Forwarded Message -----------
From: Damian Wrobel <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Fri, 15 Oct 2004 13:19:20 +0200 (CEST)
Subject: eagle-usb/driver/eu_types.h patch

Hello,

Here is a patch, which removes the following warning about
ignored 'packed' attribute using gcc v3.4.1. Please apply.

  CC [M]
/root/projects/neostrada/eagle/eagleusb-20041015/driver/eu_main.o
In file included from
/root/projects/neostrada/eagle/eagleusb-20041015/driver/eagle-usb.h:30,
                 from
/root/projects/neostrada/eagle/eagleusb-20041015/driver/eu_main.c:41:
/root/projects/neostrada/eagle/eagleusb-20041015/driver/eu_types.h:165:
warning: `packed' attribute ignored

Index: driver/eu_types.h
===================================================================
RCS file: /cvs/eagleusb/eagleusb/driver/eu_types.h,v
retrieving revision 1.5
diff -u -b -B -r1.5 eu_types.h
--- driver/eu_types.h   9 Oct 2004 11:59:56 -0000       1.5
+++ driver/eu_types.h   15 Oct 2004 11:40:29 -0000
@@ -162,7 +162,7 @@
     uint16_t wIndex;
     uint16_t wLength;
     uint8_t data[20];
-} eu_cdc_t __attribute__ ((packed));
+} __attribute__ ((packed)) eu_cdc_t;

 /**

--
Best regards,
Damian Wrobel
------- End of Forwarded Message -------



                WebMail / Magic OnLine
                http://www.magic.fr


Reply via email to