> > Your latest versions has a warning: > > ../misc/record/record-main.c: In function ‘main’: > ../misc/record/record-main.c:135:59: warning: ‘input_file’ may be used > uninitialized in this function [-Wmaybe-uninitialized] > fd = ( input_file_flag ) ? open( input_file, O_RDONLY ) : > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ > socket( PF_INET, SOCK_STREAM, 0 ); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ../misc/record/record-main.c:278:15: note: ‘input_file’ was declared here > const char *input_file; > ^~~~~~~~~~ > > Do you see this warning in your build? If no, then we should find out, > why you don't see warnings. If yes, then you should fix the warnings > before a commit. If you don't know how to fix the warning, then ask on > the mailing list. I don't want to see a warning the next time I build > your program. I think I mentioned this a couple of times before. > Normally it should be enough to mention it once. >
I really didn't see these warnings in my build. Which gcc version are you using? I am using gcc version 5.4.0. I used the following commands to configure and build: ./waf configure --prefix=$HOME/sandbox/rtems/5 ./waf build install -- *Ravindra Kumar Meena*, B. Tech. Computer Science and Engineering, Indian Institute of Technology (Indian School of Mines) <https://www.iitism.ac.in/>, Dhanbad
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel