When I try to compile mp3_check on a Redhat 7.1 system I receive the folloing error
cc1cc1: warnings being treated as errors
mp3_check_misc.c: In function `parse_args':
mp3_check_misc.c:629: warning: `fp' might be used uninitialized in this functionmake: *** [mp3_check_misc.o] Error 1
warnings being treated as errors
mp3_check_misc.c: In function `parse_args':
mp3_check_misc.c:629: warning: `fp' might be used uninitialized in this functionmake: *** [mp3_check_misc.o] Error 1
What's the fix for this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
opensuse:~/source/mp3_check-1.98> make
cc -Wall -Werror -c -o mp3_check_misc.o mp3_check_misc.c
In file included from mp3_check_misc.c:11:0:
support_functions.h: In function ‘print_frame_info’:
support_functions.h:683:2: error: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’
mp3_check_misc.c: In function ‘scan_file’:
mp3_check_misc.c:57:7: error: variable ‘found_weak_header’ set but not used
cc1: all warnings being treated as errors
make: *** Error 1
The errors change since last bug report, but it still does not compile……….
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
mp3_check_misc.c: In function `parse_args':
mp3_check_misc.c:629: warning: `fp' might be used uninitialized in this functionmake: *** [mp3_check_misc.o] Error 1
What's the fix for this?
opensuse:~/source/mp3_check-1.98> make
cc -Wall -Werror -c -o mp3_check_misc.o mp3_check_misc.c
In file included from mp3_check_misc.c:11:0:
support_functions.h: In function ‘print_frame_info’:
support_functions.h:683:2: error: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’
mp3_check_misc.c: In function ‘scan_file’:
mp3_check_misc.c:57:7: error: variable ‘found_weak_header’ set but not used
cc1: all warnings being treated as errors
make: *** Error 1
The errors change since last bug report, but it still does not compile……….