This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]