aggregate initializer
Posted: Fri Jan 09, 2004 6:09 am
"keycodes.hpp:266: warning: aggregate has a partly bracketed initializer"
it's only a warning, but I prefer to have my code clean I've got my scan code table:
Does anybody understand the warning by any chance?
Cheers,
Adrian
it's only a warning, but I prefer to have my code clean I've got my scan code table:
Code: Select all
struct
{
char make_cd, break_cd, letter;
} keyTable[_KTABLE_SIZE] =
{
MAKE_ESC, BREAK_ESC, 27,
MAKE_1, BREAK_1, '1',
MAKE_2, BREAK_2, '2',
MAKE_3, BREAK_3, '3',
...
MAKE_SPACE,BREAK_SPACE,' ',
MAKE_F1,BREAK_F1,0
};
Cheers,
Adrian