Problem with "problems"

Ingolf Steinbach Ingolf.Steinbach at jena-optronik.de
Thu Sep 21 11:36:04 BST 2006


leonp at plris.com schrieb:
> 79:char Str[STR_STAT_LEN];
> 80:StatusStruct& Status=StatusFDR.GetStatus();
[...]
> Error line 80 column 1 	']' expected, fgound 'StatusStruct'.			(3 times)

How is STR_STAT_LEN defined? Could it be something like

#define STR_STAT_LEN 42 // the length of the status string

?

If so, don't use comments in preprocessor macro definitions.

Cheers
     Ingolf

PS: If the offending code is something other than the kdevelop
     source code, I don't think this is on-topic in a kdevelop
     list...
-- 

Ingolf Steinbach                       Jena-Optronik GmbH
ingolf.steinbach at jena-optronik.de       ++49 3641 200-147
PGP: 0x7B3B5661  213C 828E 0C92 16B5  05D0 4D5B A324 EC04




More information about the KDevelop mailing list