This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Can't size warning
- From: Vijay Velusamy <vijayv at CS dot MsState dot EDU>
- To: <gcc at gcc dot gnu dot org>
- Cc: Vijay Velusamy <vijayv at CS dot MsState dot Edu>
- Date: Mon, 7 Jan 2002 23:25:53 -0600 (CST)
- Subject: Can't size warning
I have been experiencing the following problem while using gcc. I keep
getting a lot of similar warnings indicating
WARNING: can't size attrs (file_attr_list)
I am using the -Wall -Werror -Wpointer-arith -g option
I am using an RPCgen that executes on the following ddl
join file_attr_list
{
switch named_attributes (attr_bitmap_type included){
case TRUE:
boolean contents;
case FALSE:
void;
};
}
and then later on
struct file_attr
{
file_attr_list attrs;
}
I am using gcc version 2.91.66 (linux kernel 2.2.14-5)
Could anyone tell me what I am doing wrong.
Thanks,
Vijay
Department of Computer Science
Mississippi State University