lojban / jbofihe

Parser & analyser for Lojban
GNU General Public License v2.0
33 stars 3 forks source link

Compiler warnings when compiling -- Gentoo #17

Open arran4 opened 5 months ago

arran4 commented 5 months ago

When I build using this: https://github.com/arran4/arrans_overlay/blob/main/app-text/jbofihe/jbofihe-0.43.ebuild

Portage tells me that these are severe warnings:


 * QA Notice: Package triggers severe warnings which indicate that it
 *            may exhibit random runtime failures.
 * parse.tab.c:1148:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration]
 * parse.tab.c:1595:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration]
 * n2d.c:1529:12: warning: implicit declaration of function 'yyparse' [-Wimplicit-function-declaration]
 * rpc_full.c:1:8: warning: type defaults to 'int' in declaration of 'elide_trace_reduce' [-Wimplicit-int]
 * rpc_full.c:2:8: warning: type defaults to 'int' in declaration of 'elide_trace_shift' [-Wimplicit-int]
 * rpc_full.c:3:8: warning: type defaults to 'int' in declaration of 'report_trace_shift' [-Wimplicit-int]
 * rpc_full.c:4:8: warning: type defaults to 'int' in declaration of 'report_trace_reduce' [-Wimplicit-int]
 * rpc_full.c:5:8: warning: type defaults to 'int' in declaration of 'report_trace_error' [-Wimplicit-int]
 * rpc_tab.c:1:8: warning: type defaults to 'int' in declaration of 'elide_trace_reduce' [-Wimplicit-int]
 * rpc_tab.c:2:8: warning: type defaults to 'int' in declaration of 'elide_trace_shift' [-Wimplicit-int]
 * rpc_tab.c:3:8: warning: type defaults to 'int' in declaration of 'report_trace_shift' [-Wimplicit-int]
 * rpc_tab.c:4:8: warning: type defaults to 'int' in declaration of 'report_trace_reduce' [-Wimplicit-int]
 * rpc_tab.c:5:8: warning: type defaults to 'int' in declaration of 'report_trace_error' [-Wimplicit-int]
 * rpc_tab.c:1:8: warning: type defaults to 'int' in declaration of 'elide_trace_reduce' [-Wimplicit-int]
 * rpc_tab.c:2:8: warning: type defaults to 'int' in declaration of 'elide_trace_shift' [-Wimplicit-int]
 * rpc_tab.c:3:8: warning: type defaults to 'int' in declaration of 'report_trace_shift' [-Wimplicit-int]
 * rpc_tab.c:4:8: warning: type defaults to 'int' in declaration of 'report_trace_reduce' [-Wimplicit-int]
 * rpc_tab.c:5:8: warning: type defaults to 'int' in declaration of 'report_trace_error' [-Wimplicit-int]

 * Please do not file a Gentoo bug and instead report the above QA
 * issues directly to the upstream developers of this software.
 * Homepage: https://github.com/lojban/jbofihe
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/bin/smujajgau
   /usr/bin/jvocuhadju
   /usr/bin/cmafihe
   /usr/bin/vlatai
   /usr/bin/jbofihe
``
rlpowell commented 5 months ago

Yep! This code is very old. Most of it is no younger than the year 2001 or so. Updating code of that age is a substantial undertaking.

Having said that, it does in fact run fine most of the time.

arran4 commented 5 months ago

haha Yeah I know. But no one else reported this, its' here if anyone ever picks it up again.