From: Bernhard <ber...@be...> - 2002-08-24 11:33:58
|
> Following code generates an warning since changing from version 2.1.9 to > 2.3.2 > > warning: excess elements in array initializer after `cmd_tbl' at line 147 > > struct cmd_st // Command structure > { > char *st_cmdstr; // received command > unsigned char id; // ID (Nr.) > unsigned char len; // Command Len > }cmd_st; > > static const struct cmd_st cmd_tbl [] = // Command table > <<<<line 147 > { > { "DCR", CID_DCR, 9 }, // > { "DCS", CID_DCS, 9 }, // > }; Not reproducable with current CVS. But you told us nothing about the definition of CID_DCR and CID_DCS. > What has changed? From 2.1.9? A lot. ;-) Bernhard |