I need to use packed structures in my code. So, in order to have g++
create them correctly, I need to create struct types like:
struct atic_header{
unsigned msec:11;
unsigned crc:13;
unsigned subtype:5;
unsigned type:3;
unsigned long time;
unsigned short size;
} __attribute__ ((packed));
typedef struct atic_header Atic_Header;
But this is a problem, since root's dictionary generator does not like
this and gives errors like:
Error: ';' missing after class/struct/enum declaration FILE:filename
LINE:line
Warning: Unknown type (packed) in function argumant FILE:filename
LINE:line
How do I fix this?
Alexey
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:29 MET