On 04/07/2019 08:58, Ravindra Kumar Meena wrote:
    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.

Ok, this explains a lot. This GCC version is quite old. Which Linux distribution do you use?

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to