Attribute packed deprecated?

Robert Schwebel robert@schwebel.de
Wed Jun 30 08:06:00 GMT 2004


Hi, 

when compiling linux-2.6.7 with a crosstool generated
arm-softfloat-linux-gnu toolchain (3.4.0 with binutils 2.14 - 2.15
didn't work because of this NOAPP asm problem) I get lots of warnings
like this one: 

In file included from ../include/bits/string2.h:1,
                 from ../string/string.h:375,
                 from ../include/string.h:49,
                 from ../linuxthreads_db/thread_dbP.h:5,
                 from ../linuxthreads/descr.h:43,
                 from ../linuxthreads/internals.h:29,
                 from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
                 from ../nss/getXXbyYY.c:21,
                 from getgrgid.c:30:
../string/bits/string2.h:80: warning: `packed' attribute ignored
../string/bits/string2.h:81: warning: `packed' attribute ignored
../string/bits/string2.h:82: warning: `packed' attribute ignored
../string/bits/string2.h:83: warning: `packed' attribute ignored
../string/bits/string2.h:84: warning: `packed' attribute ignored
../string/bits/string2.h:85: warning: `packed' attribute ignored
../string/bits/string2.h:86: warning: `packed' attribute ignored

Any idea if this might do some harm? What could a correct solution look like? 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hornemannstraße 12,  31137 Hildesheim, Germany
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list