The following piece of code compiles under C (gcc 3.4.2)
typedef struct {
unsigned int padding[16]:1;
unsigned int holes[16]:1;
} triangle_bitmap _t;
However I get the error "invalid member function declaration" when I
try to compile it with C++ compiler (g++ 3.4.2). Any idea what might I
be doing wrong.
typedef struct {
unsigned int padding[16]:1;
unsigned int holes[16]:1;
} triangle_bitmap _t;
However I get the error "invalid member function declaration" when I
try to compile it with C++ compiler (g++ 3.4.2). Any idea what might I
be doing wrong.
Comment