<div dir="ltr"><div>Dave, Robin, the changes have been made for both MIPS and compiler warnings.</div><div>Dave - I could not test with latest gcc 5.1 myself, but the missing prototypes are there and all works with my version of the compiler.</div><div><br></div><div>The eppic source is now hosted on github.</div><div>Please apply the following patch.</div><div><br></div><div>$ git diff --staged --patch</div><div>diff --git a/extensions/<a href="http://eppic.mk">eppic.mk</a> b/extensions/<a href="http://eppic.mk">eppic.mk</a></div><div>index de3ff4f..9a5eef8 100644</div><div>--- a/extensions/<a href="http://eppic.mk">eppic.mk</a></div><div>+++ b/extensions/<a href="http://eppic.mk">eppic.mk</a></div><div>@@ -39,7 +39,7 @@ all:</div><div>                git clone "$(EPPIC_GIT_URL)" eppic; \</div><div>              else \</div><div>                  if [ -n "$(GOOGLE)" ] ; then \</div><div>-                   git clone <a href="https://code.google.com/p/eppic">https://code.google.com/p/eppic</a> eppic; \</div><div>+                   git clone <a href="https://github.com/lucchouina/eppic.git">https://github.com/lucchouina/eppic.git</a> eppic; \</div><div>                  fi; \</div><div>              fi; \</div><div>           else \</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jul 5, 2015 at 2:59 PM, Dave Anderson <span dir="ltr"><<a href="mailto:anderson@redhat.com" target="_blank">anderson@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
----- Original Message -----<br>
><br>
><br>
> On PTO at this time. Will merge it this week though.<br>
<br>
</span>Thanks Luc.<br>
<br>
BTW, while you're at it, maybe you can take a look a bunch of new<br>
warnings that have cropped up when compiling eppic with gcc-5.1.1?<br>
Harmless I'm sure, but annoying to have to look at:<br>
<br>
$ make extensions<br>
... [ cut ] ...<br>
cd eppic/libeppic && make<br>
bison -peppic -v -t -d eppic.y<br>
eppic.y: warning: 253 shift/reduce conflicts [-Wconflicts-sr]<br>
eppic.y: warning: 20 reduce/reduce conflicts [-Wconflicts-rr]<br>
cc -O0 -g -fPIC   -c -o eppic_util.o eppic_util.c<br>
eppic_util.c: In function eppic_error:<br>
eppic_util.c:742:5: warning: implicit declaration of function eppic_setvlev [-Wimplicit-function-declaration]<br>
     eppic_setvlev(0);<br>
     ^<br>
cc -O0 -g -fPIC   -c -o eppic_node.o eppic_node.c<br>
In file included from eppic_node.c:19:0:<br>
eppic_node.c: In function eppic_newnode:<br>
eppic.h:253:16: warning: implicit declaration of function eppic_caller [-Wimplicit-function-declaration]<br>
 #define TAG(p) eppic_caller(p, __return_address)<br>
                ^<br>
eppic_node.c:31:5: note: in expansion of macro TAG<br>
     TAG(n);<br>
     ^<br>
cc -O0 -g -fPIC   -c -o eppic_var.o eppic_var.c<br>
In file included from eppic_var.c:18:0:<br>
eppic_var.c: In function eppic_setarray:<br>
eppic.h:253:16: warning: implicit declaration of function eppic_caller [-Wimplicit-function-declaration]<br>
 #define TAG(p) eppic_caller(p, __return_address)<br>
                ^<br>
eppic_var.c:73:9: note: in expansion of macro TAG<br>
         TAG(arp);<br>
         ^<br>
eppic_var.c: At top level:<br>
eppic_var.c:831:1: warning: return type defaults to int [-Wimplicit-int]<br>
 eppic_vpush()<br>
 ^<br>
eppic_var.c:844:1: warning: return type defaults to int [-Wimplicit-int]<br>
 eppic_vpop()<br>
 ^<br>
cc -O0 -g -fPIC   -c -o eppic_func.o eppic_func.c<br>
cc -O0 -g -fPIC   -c -o eppic_str.o eppic_str.c<br>
cc -O0 -g -fPIC   -c -o eppic_op.o eppic_op.c<br>
cc -O0 -g -fPIC   -c -o eppic_num.o eppic_num.c<br>
In file included from eppic_num.c:17:0:<br>
eppic_num.c: In function eppic_makenum:<br>
eppic.h:253:16: warning: implicit declaration of function eppic_caller [-Wimplicit-function-declaration]<br>
 #define TAG(p) eppic_caller(p, __return_address)<br>
                ^<br>
eppic_num.c:76:5: note: in expansion of macro TAG<br>
     TAG(nu);<br>
     ^<br>
cc -O0 -g -fPIC   -c -o eppic_stat.o eppic_stat.c<br>
cc -O0 -g -fPIC   -c -o eppic_builtin.o eppic_builtin.c<br>
cc -O0 -g -fPIC   -c -o eppic_type.o eppic_type.c<br>
In file included from eppic_type.c:15:0:<br>
eppic_type.c: In function eppic_makebtype:<br>
eppic.h:253:16: warning: implicit declaration of function eppic_caller [-Wimplicit-function-declaration]<br>
 #define TAG(p) eppic_caller(p, __return_address)<br>
                ^<br>
eppic_type.c:479:5: note: in expansion of macro TAG<br>
     TAG(v);<br>
     ^<br>
cc -O0 -g -fPIC   -c -o eppic_case.o eppic_case.c<br>
cc -O0 -g -fPIC   -c -o eppic_api.o eppic_api.c<br>
eppic_api.c: In function eppic_apiset:<br>
eppic_api.c:1144:8: warning: implicit declaration of function getenv [-Wimplicit-function-declaration]<br>
     if(getenv("EPPIC_LEGACY_MODE")) eppic_legacy=1;<br>
        ^<br>
In file included from eppic_api.c:15:0:<br>
eppic_api.c: In function eppic_filepath:<br>
eppic.h:253:16: warning: implicit declaration of function eppic_caller [-Wimplicit-function-declaration]<br>
 #define TAG(p) eppic_caller(p, __return_address)<br>
                ^<br>
eppic_api.c:1194:9: note: in expansion of macro TAG<br>
         TAG(name);<br>
         ^<br>
cc -O0 -g -fPIC   -c -o eppic_member.o eppic_member.c<br>
cc -O0 -g -fPIC   -c -o eppic_alloc.o eppic_alloc.c<br>
cc -O0 -g -fPIC   -c -o eppic_define.o eppic_define.c<br>
cc -O0 -g -fPIC   -c -o eppic_input.o eppic_input.c<br>
eppic_input.c: In function eppic_include:<br>
eppic_input.c:811:80: warning: implicit declaration of function eppic_getipath [-Wimplicit-function-declaration]<br>
         eppic_msg("Include file not found: '%s' [include path is '%s']", name, eppic_getipath());<br>
                                                                                ^<br>
cc -O0 -g -fPIC   -c -o eppic_print.o eppic_print.c<br>
bison -peppicpp -v -t -d eppicpp.y<br>
eppicpp.y: warning: 23 shift/reduce conflicts [-Wconflicts-sr]<br>
cc -O0 -g -fPIC -c eppicpp.tab.c<br>
eppicpp.tab.c: In function eppicppparse:<br>
eppicpp.tab.c:65:25: warning: implicit declaration of function eppicpperror [-Wimplicit-function-declaration]<br>
 #define yyerror         eppicpperror<br>
                         ^<br>
eppicpp.tab.c:1553:7: note: in expansion of macro yyerror<br>
       yyerror (YY_("syntax error"));<br>
       ^<br>
cc -O0 -g -fPIC -c eppic.tab.c<br>
eppic.y: In function eppicparse:<br>
eppic.y:23:16: warning: implicit declaration of function eppic_vpush [-Wimplicit-function-declaration]<br>
 #define PUSHV  eppic_vpush();<br>
                ^<br>
eppic.y:178:6: note: in expansion of macro PUSHV<br>
     '{' {PUSHV;} decl_list stmtlist {POPV;} '}'   { $$ = eppic_stat_decl($4, $3); }<br>
      ^<br>
eppic.y:24:16: warning: implicit declaration of function eppic_vpop [-Wimplicit-function-declaration]<br>
 #define POPV   eppic_vpop();<br>
                ^<br>
eppic.y:178:6: note: in expansion of macro POPV<br>
     '{' {PUSHV;} decl_list stmtlist {POPV;} '}'   { $$ = eppic_stat_decl($4, $3); }<br>
      ^<br>
flex -L -Peppic -t eppic.l > lex.eppic.c<br>
cc -O0 -g -fPIC -c lex.eppic.c<br>
flex -Peppicpp -t eppicpp.l  > lex.eppicpp.c<br>
cc -O0 -g -fPIC -c lex.eppicpp.c<br>
cc -O0 -g -fPIC -o mkbaseop mkbaseop.c<br>
./mkbaseop > baseops.c<br>
cc -O0 -g -fPIC -c baseops.c<br>
ar ccurl libeppic.a eppic_util.o eppic_node.o eppic_var.o eppic_func.o eppic_str.o eppic_op.o eppic_num.o eppic_stat.o eppic_builtin.o eppic_type.o eppic_case.o eppic_api.o eppic_member.o eppic_alloc.o eppic_define.o eppic_input.o eppic_print.o eppicpp.tab.o eppic.tab.o lex.eppic.o lex.eppicpp.o baseops.o<br>
ar: `u' modifier ignored since `D' is the default (see `U')<br>
gcc -g -Ieppic/libeppic -I../gdb-7.6/gdb -I../gdb-7.6/bfd -I../gdb-7.6/include -I../gdb-7.6/gdb/config -I../gdb-7.6/gdb/common -I../gdb-7.6 -nostartfiles -shared -rdynamic -o eppic.so eppic/applications/crash/eppic.c -fPIC -DX86_64 -DGDB_7_6 -Leppic/libeppic -leppic<br>
eppic/applications/crash/eppic.c: In function apigetval:<br>
eppic/applications/crash/eppic.c:479:13: warning: implicit declaration of function eppic_do_deref [-Wimplicit-function-declaration]<br>
             eppic_do_deref(1, value, value);<br>
             ^<br>
eppic/applications/crash/eppic.c: In function apigetdefs:<br>
eppic/applications/crash/eppic.c:655:30: warning: implicit declaration of function eppic_addneg [-Wimplicit-function-declaration]<br>
             while(*tdefname) eppic_addneg(*tdefname++);;<br>
                              ^<br>
eppic/applications/crash/eppic.c: In function edit_cmd:<br>
eppic/applications/crash/eppic.c:747:21: warning: implicit declaration of function getopt [-Wimplicit-function-declaration]<br>
         while ((c = getopt(argcnt, args, "lf")) != EOF) {<br>
                     ^<br>
eppic/applications/crash/eppic.c: At top level:<br>
eppic/applications/crash/eppic.c:1006:1: warning: return type defaults to int [-Wimplicit-int]<br>
 _init() /* Register the command set. */<br>
 ^<br>
...<br>
<br>
Thanks again,<br>
  Dave<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Crash-utility mailing list<br>
<a href="mailto:Crash-utility@redhat.com">Crash-utility@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/crash-utility" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/crash-utility</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div><br></div>     - Luc</div>
</div>