w1.e8973 (4823B)
1 TERM environment variable not set. 2 make: *** [clean] Error 1 3 dnn_helper.cpp: In member function ‘int Interface::Initial(CpuArg&)’: 4 dnn_helper.cpp:111:66: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 5 fprintf(fp_log,"init_randem_seed: %d\n", cpuArg.randomSeed); 6 ^ 7 dnn_helper.cpp:70:7: warning: unused variable ‘buff’ [-Wunused-variable] 8 char buff[MAXLINE]; 9 ^ 10 dnn_helper.cpp: In member function ‘void Interface::get_pfile_info(CpuArg&)’: 11 dnn_helper.cpp:203:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 12 for(int i=0; i<total_sents;i++ ) 13 ^ 14 dnn_helper.cpp: In member function ‘void Interface::get_chunk_info(CpuArg&)’: 15 dnn_helper.cpp:233:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 16 if(sent_en < sent_st || sent_st < 0 || sent_en >= total_sents){ 17 ^ 18 dnn_helper.cpp:260:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 19 if(next_st < total_frames){ 20 ^ 21 dnn_helper.cpp:221:8: warning: unused variable ‘p’ [-Wunused-variable] 22 char *p, *st, *en; 23 ^ 24 dnn_helper.cpp:221:12: warning: unused variable ‘st’ [-Wunused-variable] 25 char *p, *st, *en; 26 ^ 27 dnn_helper.cpp:221:17: warning: unused variable ‘en’ [-Wunused-variable] 28 char *p, *st, *en; 29 ^ 30 dnn_helper.cpp: In member function ‘void Interface::get_chunk_info_cv(CpuArg&)’: 31 dnn_helper.cpp:291:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 32 if(cv_sent_en < cv_sent_st || cv_sent_st < 0 || cv_sent_en >= total_sents){ 33 ^ 34 dnn_helper.cpp:318:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 35 if(next_st < total_frames){ 36 ^ 37 dnn_helper.cpp:279:8: warning: unused variable ‘p’ [-Wunused-variable] 38 char *p, *st, *en; 39 ^ 40 dnn_helper.cpp:279:12: warning: unused variable ‘st’ [-Wunused-variable] 41 char *p, *st, *en; 42 ^ 43 dnn_helper.cpp:279:17: warning: unused variable ‘en’ [-Wunused-variable] 44 char *p, *st, *en; 45 ^ 46 dnn_helper.cpp: In member function ‘int Interface::Readchunk(int, CpuArg&, ChunkContainer&)’: 47 dnn_helper.cpp:353:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 48 if(chunk_index == total_chunks -1){ 49 ^ 50 dnn_helper.cpp: In member function ‘int Interface::Readchunk_cv(int, CpuArg&, ChunkContainer&)’: 51 dnn_helper.cpp:523:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 52 if(chunk_index == cv_total_chunks -1){ 53 ^ 54 dnn_helper.cpp: In member function ‘void Interface::read_tail(FILE*, long int, unsigned int, int*)’: 55 dnn_helper.cpp:698:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 56 for(int i= 0; i< sentnum; i++){ 57 ^ 58 dnn_func.cpp: In function ‘int dnnClassify(NodeArg&)’: 59 dnn_func.cpp:13:8: warning: unused variable ‘zero’ [-Wunused-variable] 60 float zero = 0.0f; 61 ^ 62 dnn_utility.cpp: In function ‘int FetchOneChunk(CpuArg&, ChunkContainer&)’: 63 dnn_utility.cpp:418:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 64 if(-1 == cpuArg.curChunkIndex) 65 ^ 66 dnn_utility.cpp: In function ‘int FetchOneBunch(ChunkContainer&, NodeArg&)’: 67 dnn_utility.cpp:453:6: warning: unused variable ‘ret’ [-Wunused-variable] 68 int ret = 0; 69 ^ 70 dnn_utility.cpp: In function ‘void UninitProgramConfig(CpuArg&, NodeArg&, ChunkContainer&)’: 71 dnn_utility.cpp:503:20: warning: statement has no effect [-Wunused-value] 72 cpuArg.pNormFile == NULL; 73 ^ 74 dnn_utility.cpp:508:19: warning: statement has no effect [-Wunused-value] 75 cpuArg.pWtsFile == NULL; 76 ^ 77 dnn_utility.cpp:513:19: warning: statement has no effect [-Wunused-value] 78 cpuArg.pLogFile == NULL; 79 ^ 80 dnn_utility.cpp: In function ‘void WriteWts(NodeArg&, CpuArg&)’: 81 dnn_utility.cpp:676:6: warning: unused variable ‘numN’ [-Wunused-variable] 82 int numN = nodeArg.numN; //size of minibatch 83 ^ 84 dnn_utility.cpp:678:6: warning: unused variable ‘numD’ [-Wunused-variable] 85 int numD = nodeArg.dnnLayerArr[0]; //node nums of input layer 86 ^ 87 main.cpp: In function ‘int main(int, char**)’: 88 main.cpp:38:6: warning: unused variable ‘chunkSize’ [-Wunused-variable] 89 int chunkSize = cpuArg.chunkSize; 90 ^