P
pritisrathi
Hi All,
I have a union which is a public data member of a class. This union has
one anonymous structure. The structure is like :
union abc
{
unsigned char byte;
struct
{
unsigned char rec_ : 5;
unsigned char type_ : 2;
unsigned char dir_ : 1;
};
};
I am getting compiler warning 'will be initialized later' for struct
member that is for rec_, type_ and dir_. I am using gcc3.3 for
compilation.
How to remove this warning?
TIA,
Priti
I have a union which is a public data member of a class. This union has
one anonymous structure. The structure is like :
union abc
{
unsigned char byte;
struct
{
unsigned char rec_ : 5;
unsigned char type_ : 2;
unsigned char dir_ : 1;
};
};
I am getting compiler warning 'will be initialized later' for struct
member that is for rec_, type_ and dir_. I am using gcc3.3 for
compilation.
How to remove this warning?
TIA,
Priti