Which is my answer the below: Step back to Code Analyzer: > .\winmain_001.exe .\winmain_003.cpp argc 2 argv[0]=C:\Users\abjmp_000\Documents\source\analyzer\analyzer_20200311\winmain_001.exe https://github.com/WaitrudWeber/source_zip/blob/master/analyzer_20200311.zip
303 :void err_msg_006(const char *fmt, ...)
304 :{
305 : va_list ap;
306 : int argc;
307 : char** argv;
308 : int send_success;
309 : char* result;
310 :
311 ://
312 :// if ( set_level_error_msg <= level_error_msg ) return;
313 : if ( level_error_msg > 6 );
314 :
315 : va_start(ap, fmt);
316 : result = err_doit_002(0, 0, fmt, ap);
317 : va_end(ap);
318 :
319 : if ( print_socket_msg != 1 ) return;
320 :
321 : argc = 3;
322 : argv = (char**) malloc( sizeof(char**) * argc ) ;
323 : set_sender_default_parameters ( &argc, argv ) ;
324 :
325 : argv[2] = (char *) result;
326 : send_success = sender_main ( argc, argv ) ;
327 :
328 :}
I set error_mmsg_006 fixed number-6, and could recognise that it doesn't work well.. (20200310)
https://github.com/WaitrudWeber/source_zip/blob/master/analyzer_20200312-001.zip
---
(20200310) --- messages 000 --- Analyzer::analyze_C: level_error_msg=3 starts. argc 2 argv[0]=C:\Users\abjmp_000\Documents\source\analyzer\analyzer_20200312\winmain_001.exe --- messages 000 --- .\analyzer_C.cpp Tue Mar 10 16:36:08 2020 1 :#include2 :#include 3 : 4 :#include 5 : 6 :#include 7 : 8 :#include "Print.h" 9 :#include "array_counter.h" 10 :#include "aToken.h" 11 : 12 :#include "wC_structure.h" 13 :#include "analyzer_C.h" 14 : 15 :// argv[0] : file name 16 :// 17 :// 18 :// 19 :// 20 :int Analyzer::analyze_C (int argc, char** argv ) { 21 : printf ("Analyzer::analyze_C: level_error_msg=%d starts.\r\n", level_error_msg ); 22 : 23 : if ( argc > 1 ) { 24 : printf( "argc %d argv[0]=%s\r\n", argc, argv[0] ); 25 : //exit(-1); 26 : this->parse(argv[0]); 27 : } 28 : 29 : printf ("Analyzer::analyze_C: level_error_msg=%d ends.\r\n", level_error_msg ); 30 : return 0; 31 :} https://github.com/WaitrudWeber/source_zip/blob/master/analyzer_20200310-001.zip --- situation 000 --- Temporalily, I cahnged message-lootins to printf and checked it, we think compiled error but there is another way, we don't fight but avoid. --- situation 000 ---