GSoC Project | Basic Support for Trace Compass
Ravindra Kumar Meena
rmeena840 at gmail.com
Thu Jul 4 06:58:57 UTC 2019
> 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
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)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel