Joerg Behrens wrote: > Would only tell everyone that mnogo compiles fine when using GCC 2.92.3 on a > IRIX64 indigo2 6.5 IP28 mips system. Going into some trouble when using the > MIPSpro C compiler. > > "indexer.c", line 759: warning(1110): statement is unreachable > > if(Indexer->Conf->LockProc)Indexer->Conf->LockProc(UDM_UNLOCK,UDM_LOCK_ROBOT > S); > ^ > > "indexer.c", line 900: warning(1126): expected a statement > } > ^ > > "sql.c", line 3135: warning(1110): statement is unreachable > break; > > > "spell.c", line 258: warning(1164): argument of type "unsigned char *" is > incompatible with parameter of type "char *" > while(fgets(str,sizeof(str),dict)){ > > and so on..... stops with > > "cache.c", line 1281: error(1028): expression must have a constant value > T_LOGD_NUM logd_num={logd,num}; > ^ > > 4 errors detected in the compilation of "cache.c". > gmake[1]: *** [cache.lo] Error 1 > gmake[1]: Leaving directory `/usr3/MIPS/mnogosearch-3.2.3/src' > gmake: *** [all-recursive] Error 1 > > any hints?
Remove this line: T_LOGD_NUM logd_num={logd,num}; And write instead: T_LOGD_NUM logd_num; logd_num.logd=logd; logd_num.num=num; Thanks for reporting! -- bar ___________________________________________ If you want to unsubscribe send "unsubscribe general" to [EMAIL PROTECTED]