<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>RE: SIAL and bison 2.5</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Will check it out. Thanks<BR>
<BR>
-----Original Message-----<BR>
From: Dave Anderson [<A HREF="mailto:anderson@redhat.com">mailto:anderson@redhat.com</A>]<BR>
Sent: Thu 1/19/2012 3:07 PM<BR>
To: Discussion list for crash utility usage, maintenance and development<BR>
Cc: Luc Chouinard<BR>
Subject: SIAL and bison 2.5<BR>
<BR>
<BR>
Hi Luc,<BR>
<BR>
I note a new set of bison complaints on a Fedora 16 machine:<BR>
<BR>
# make extensions<BR>
gcc -Wall -nostartfiles -shared -rdynamic -o echo.so echo.c -fPIC -DX86_64  -DGDB_7_3_1<BR>
gcc -Wall -nostartfiles -shared -rdynamic -o trace.so trace.c -fPIC -DX86_64  -DGDB_7_3_1<BR>
gcc -Wall -nostartfiles -shared -rdynamic -o dminfo.so dminfo.c -fPIC -DX86_64  -DGDB_7_3_1<BR>
cd libsial && make<BR>
bison -psial -v -t -d sial.y<BR>
sial.y:107.22: warning: a `;' might be needed at the end of action code<BR>
sial.y:107.22: warning: future versions of Bison will not add the `;'<BR>
sial.y:107.36: warning: a `;' might be needed at the end of action code<BR>
sial.y:107.36: warning: future versions of Bison will not add the `;'<BR>
sial.y:111.26: warning: a `;' might be needed at the end of action code<BR>
sial.y:111.26: warning: future versions of Bison will not add the `;'<BR>
sial.y:111.40: warning: a `;' might be needed at the end of action code<BR>
sial.y:111.40: warning: future versions of Bison will not add the `;'<BR>
sial.y:424.25: warning: a `;' might be needed at the end of action code<BR>
sial.y:424.25: warning: future versions of Bison will not add the `;'<BR>
sial.y:424.39: warning: a `;' might be needed at the end of action code<BR>
sial.y:424.39: warning: future versions of Bison will not add the `;'<BR>
sial.y: conflicts: 252 shift/reduce, 20 reduce/reduce<BR>
cc -O3 -g -fPIC   -c -o sial_util.o sial_util.c<BR>
cc -O3 -g -fPIC   -c -o sial_node.o sial_node.c<BR>
cc -O3 -g -fPIC   -c -o sial_var.o sial_var.c<BR>
cc -O3 -g -fPIC   -c -o sial_func.o sial_func.c<BR>
cc -O3 -g -fPIC   -c -o sial_str.o sial_str.c<BR>
cc -O3 -g -fPIC   -c -o sial_op.o sial_op.c<BR>
cc -O3 -g -fPIC   -c -o sial_num.o sial_num.c<BR>
cc -O3 -g -fPIC   -c -o sial_stat.o sial_stat.c<BR>
cc -O3 -g -fPIC   -c -o sial_builtin.o sial_builtin.c<BR>
cc -O3 -g -fPIC   -c -o sial_type.o sial_type.c<BR>
cc -O3 -g -fPIC   -c -o sial_case.o sial_case.c<BR>
cc -O3 -g -fPIC   -c -o sial_api.o sial_api.c<BR>
cc -O3 -g -fPIC   -c -o sial_member.o sial_member.c<BR>
cc -O3 -g -fPIC   -c -o sial_alloc.o sial_alloc.c<BR>
cc -O3 -g -fPIC   -c -o sial_define.o sial_define.c<BR>
cc -O3 -g -fPIC   -c -o sial_input.o sial_input.c<BR>
cc -O3 -g -fPIC   -c -o sial_print.o sial_print.c<BR>
bison -psialpp -v -t -d sialpp.y<BR>
sialpp.y: conflicts: 23 shift/reduce<BR>
cc -O3 -g -fPIC -c sialpp.tab.c<BR>
cc -O3 -g -fPIC -c sial.tab.c<BR>
flex -L -Psial -t sial.l > lex.sial.c<BR>
cc -O3 -g -fPIC -c lex.sial.c<BR>
flex -Psialpp -t sialpp.l  > lex.sialpp.c<BR>
cc -O3 -g -fPIC -c lex.sialpp.c<BR>
cc -O3 -g -fPIC -o mkbaseop mkbaseop.c<BR>
./mkbaseop > baseops.c<BR>
cc -O3 -g -fPIC -c baseops.c<BR>
ar ccurl libsial.a sial_util.o sial_node.o sial_var.o sial_func.o sial_str.o sial_op.o sial_num.o sial_stat.o sial_builtin.o sial_type.o sial_case.o sial_api.o sial_member.o sial_alloc.o sial_define.o sial_input.o sial_print.o sialpp.tab.o sial.tab.o lex.sial.o lex.sialpp.o baseops.o<BR>
gcc -g -I.. -Ilibsial -I../gdb-7.3.1/bfd -I../gdb-7.3.1/include -I../gdb-7.3.1/gdb -I../gdb-7.3.1/gdb/config -I../gdb-7.3.1/gdb/common -I../gdb-7.3.1 -nostartfiles -shared -rdynamic -o sial.so sial.c -fPIC -DX86_64 -DGDB_7_3_1 -Llibsial -lsial<BR>
gcc -Wall -I. -nostartfiles -shared -rdynamic -o snap.so snap.c -fPIC -DX86_64  -DGDB_7_3_1<BR>
#<BR>
<BR>
Since the warnings don't show up with bison 2.4.1,<BR>
I'm guessing it's something new in version 2.5:<BR>
<BR>
# bison --version<BR>
bison (GNU Bison) 2.5<BR>
Written by Robert Corbett and Richard Stallman.<BR>
<BR>
Copyright (C) 2011 Free Software Foundation, Inc.<BR>
This is free software; see the source for copying conditions.  There is NO<BR>
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<BR>
#<BR>
<BR>
Probably worth cleaning up now rather than later?<BR>
<BR>
Thanks,<BR>
  Dave<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>