----- Original Message -----
>
>
> On PTO at this time. Will merge it this week though.
Thanks Luc.
BTW, while you're at it, maybe you can take a look a bunch of new
warnings that have cropped up when compiling eppic with gcc-5.1.1?
Harmless I'm sure, but annoying to have to look at:
$ make extensions
... [ cut ] ...
cd eppic/libeppic && make
bison -peppic -v -t -d eppic.y
eppic.y: warning: 253 shift/reduce conflicts [-Wconflicts-sr]
eppic.y: warning: 20 reduce/reduce conflicts [-Wconflicts-rr]
cc -O0 -g -fPIC -c -o eppic_util.o eppic_util.c
eppic_util.c: In function eppic_error:
eppic_util.c:742:5: warning: implicit declaration of function eppic_setvlev [-Wimplicit-function-declaration]
eppic_setvlev(0);
^
cc -O0 -g -fPIC -c -o eppic_node.o eppic_node.c
In file included from eppic_node.c:19:0:
eppic_node.c: In function eppic_newnode:
eppic.h:253:16: warning: implicit declaration of function eppic_caller [-Wimplicit-function-declaration]
#define TAG(p) eppic_caller(p, __return_address)
^
eppic_node.c:31:5: note: in expansion of macro TAG
TAG(n);
^
cc -O0 -g -fPIC -c -o eppic_var.o eppic_var.c
In file included from eppic_var.c:18:0:
eppic_var.c: In function eppic_setarray:
eppic.h:253:16: warning: implicit declaration of function eppic_caller [-Wimplicit-function-declaration]
#define TAG(p) eppic_caller(p, __return_address)
^
eppic_var.c:73:9: note: in expansion of macro TAG
TAG(arp);
^
eppic_var.c: At top level:
eppic_var.c:831:1: warning: return type defaults to int [-Wimplicit-int]
eppic_vpush()
^
eppic_var.c:844:1: warning: return type defaults to int [-Wimplicit-int]
eppic_vpop()
^
cc -O0 -g -fPIC -c -o eppic_func.o eppic_func.c
cc -O0 -g -fPIC -c -o eppic_str.o eppic_str.c
cc -O0 -g -fPIC -c -o eppic_op.o eppic_op.c
cc -O0 -g -fPIC -c -o eppic_num.o eppic_num.c
In file included from eppic_num.c:17:0:
eppic_num.c: In function eppic_makenum:
eppic.h:253:16: warning: implicit declaration of function eppic_caller [-Wimplicit-function-declaration]
#define TAG(p) eppic_caller(p, __return_address)
^
eppic_num.c:76:5: note: in expansion of macro TAG
TAG(nu);
^
cc -O0 -g -fPIC -c -o eppic_stat.o eppic_stat.c
cc -O0 -g -fPIC -c -o eppic_builtin.o eppic_builtin.c
cc -O0 -g -fPIC -c -o eppic_type.o eppic_type.c
In file included from eppic_type.c:15:0:
eppic_type.c: In function eppic_makebtype:
eppic.h:253:16: warning: implicit declaration of function eppic_caller [-Wimplicit-function-declaration]
#define TAG(p) eppic_caller(p, __return_address)
^
eppic_type.c:479:5: note: in expansion of macro TAG
TAG(v);
^
cc -O0 -g -fPIC -c -o eppic_case.o eppic_case.c
cc -O0 -g -fPIC -c -o eppic_api.o eppic_api.c
eppic_api.c: In function eppic_apiset:
eppic_api.c:1144:8: warning: implicit declaration of function getenv [-Wimplicit-function-declaration]
if(getenv("EPPIC_LEGACY_MODE")) eppic_legacy=1;
^
In file included from eppic_api.c:15:0:
eppic_api.c: In function eppic_filepath:
eppic.h:253:16: warning: implicit declaration of function eppic_caller [-Wimplicit-function-declaration]
#define TAG(p) eppic_caller(p, __return_address)
^
eppic_api.c:1194:9: note: in expansion of macro TAG
TAG(name);
^
cc -O0 -g -fPIC -c -o eppic_member.o eppic_member.c
cc -O0 -g -fPIC -c -o eppic_alloc.o eppic_alloc.c
cc -O0 -g -fPIC -c -o eppic_define.o eppic_define.c
cc -O0 -g -fPIC -c -o eppic_input.o eppic_input.c
eppic_input.c: In function eppic_include:
eppic_input.c:811:80: warning: implicit declaration of function eppic_getipath [-Wimplicit-function-declaration]
eppic_msg("Include file not found: '%s' [include path is '%s']", name, eppic_getipath());
^
cc -O0 -g -fPIC -c -o eppic_print.o eppic_print.c
bison -peppicpp -v -t -d eppicpp.y
eppicpp.y: warning: 23 shift/reduce conflicts [-Wconflicts-sr]
cc -O0 -g -fPIC -c eppicpp.tab.c
eppicpp.tab.c: In function eppicppparse:
eppicpp.tab.c:65:25: warning: implicit declaration of function eppicpperror [-Wimplicit-function-declaration]
#define yyerror eppicpperror
^
eppicpp.tab.c:1553:7: note: in expansion of macro yyerror
yyerror (YY_("syntax error"));
^
cc -O0 -g -fPIC -c eppic.tab.c
eppic.y: In function eppicparse:
eppic.y:23:16: warning: implicit declaration of function eppic_vpush [-Wimplicit-function-declaration]
#define PUSHV eppic_vpush();
^
eppic.y:178:6: note: in expansion of macro PUSHV
'{' {PUSHV;} decl_list stmtlist {POPV;} '}' { $$ = eppic_stat_decl($4, $3); }
^
eppic.y:24:16: warning: implicit declaration of function eppic_vpop [-Wimplicit-function-declaration]
#define POPV eppic_vpop();
^
eppic.y:178:6: note: in expansion of macro POPV
'{' {PUSHV;} decl_list stmtlist {POPV;} '}' { $$ = eppic_stat_decl($4, $3); }
^
flex -L -Peppic -t eppic.l > lex.eppic.c
cc -O0 -g -fPIC -c lex.eppic.c
flex -Peppicpp -t eppicpp.l > lex.eppicpp.c
cc -O0 -g -fPIC -c lex.eppicpp.c
cc -O0 -g -fPIC -o mkbaseop mkbaseop.c
./mkbaseop > baseops.c
cc -O0 -g -fPIC -c baseops.c
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
ar: `u' modifier ignored since `D' is the default (see `U')
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
eppic/applications/crash/eppic.c: In function apigetval:
eppic/applications/crash/eppic.c:479:13: warning: implicit declaration of function eppic_do_deref [-Wimplicit-function-declaration]
eppic_do_deref(1, value, value);
^
eppic/applications/crash/eppic.c: In function apigetdefs:
eppic/applications/crash/eppic.c:655:30: warning: implicit declaration of function eppic_addneg [-Wimplicit-function-declaration]
while(*tdefname) eppic_addneg(*tdefname++);;
^
eppic/applications/crash/eppic.c: In function edit_cmd:
eppic/applications/crash/eppic.c:747:21: warning: implicit declaration of function getopt [-Wimplicit-function-declaration]
while ((c = getopt(argcnt, args, "lf")) != EOF) {
^
eppic/applications/crash/eppic.c: At top level:
eppic/applications/crash/eppic.c:1006:1: warning: return type defaults to int [-Wimplicit-int]
_init() /* Register the command set. */
^
...
Thanks again,
Dave
--
Crash-utility mailing list
Crash-utility@redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility