无论如何。 - jacob navia jacob at jacob point remcomp point fr logiciels / informatiquehttp://www.cs.virginia.edu/~lcc-win32 这里是代码剪辑: void aaalib_trim(char * in){ int n; for(n =(strlen(in)) - 1; n> = 0 ; n--) if(!isspace(in [n])) break; in [n + 1] =' '\0''; } Hi AllCompile a our source with BM XL C/C++ Enterprise Edition V8.0 for AIX(Version: 08.00.0000.0000) produces a lot of Informational messagelike this:"aaalib.c", line 671.1: 1506-412 (I) Referenced variable "n", whichwas not initialized in its declaration.n is a variable in procedure an is assigned before used. Compiling thesame sources with other compiles such as AIX version 7.0, gcc onlinux etc do not display this information.Appreciate your help in this regard,Thanks,Andreas 解决方案Please go to IBM help desk. We are NOT IBM help desk.Thanks for your understanding.--jacob naviajacob at jacob point remcomp point frlogiciels/informatique http://www.cs.virginia.edu/~lcc-win32P.S. It would be maybe better to SHOW where the compilercomplains, where you think it is wrong withconcrete examples, if not it is not possible to help youanyway.--jacob naviajacob at jacob point remcomp point frlogiciels/informatique http://www.cs.virginia.edu/~lcc-win32P.S. It would be maybe better to SHOW where the compilercomplains, where you think it is wrong withconcrete examples, if not it is not possible to help youanyway.--jacob naviajacob at jacob point remcomp point frlogiciels/informatiquehttp://www.cs.virginia.edu/~lcc-win32here is the code snipped:void aaalib_trim (char *in) {int n;for (n = (strlen(in)) - 1; n>= 0; n--)if (!isspace(in[n]))break;in[n+1] = ''\0'';} 这篇关于AIX C编译器消息无法解释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 1403页,肝出来的.. 09-08 19:38