[LUGSB] Make Error

Chris Wright dhasenan at gmail.com
Wed Feb 13 09:44:05 EST 2008


'packed', I believe, indicates that something smaller than a word
should not be aligned on word boundaries. It might take longer to
access the data in that case, but it'd be less wasted space.

It's just a warning, and it's probably in a struct, so unless you're
casting the address of the struct to a uchar_t* and then accessing it
as an array, you should be fine either way. Just turn off -Werror.

On 12/02/2008, Damian Tommasino <damian.itc at gmail.com> wrote:
> Hey I'm kinda new to Linux so I was wondering if I could get some help.
> I'm trying to "make" some source code and I keep receiving an error:
>
> " warning: 'packed' attribute ignored for field of type 'uchar_t' "
>
> I can normally figure out what the errors are and solve them, but this
> one has me stuck and I'm not sure what I'm doing wrong.  Any help would
> be appreciated.
>
> - Damian
> _______________________________________________
> lugsb mailing list
> lugsb at mail.fsl.cs.sunysb.edu
> To unsubscribe from this list, go to:
> http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb
>


-- 
http://dsource.org/projects/dmocks -- Mock objects for the D
programming language


More information about the lugsb mailing list