[Xorp-hackers] [PATCH 00/10] Automatically generate lex and yacc files

Ben Greear greearb at candelatech.com
Tue Mar 13 10:39:57 PDT 2012


On 03/13/2012 03:39 AM, igorm at etf.rs wrote:
> From: Igor Maravic<igorm at etf.rs>
>
> Hi,
> I removed files in individual patches.
> 10th patch is where I introduced auto generation of lex and yacc files
> BR
> Igor

Applied and pushed.  I see this error on the 32-bit FC8 build-bot machine:

gcc -o obj/i686-pc-linux-gnu/rtrmgr/glob_win32.o -c -std=gnu99 -O2 -g3 -Werror -W -Wall -Wwrite-strings -Wbad-function-cast -Wmissing-prototypes -Wcast-qual 
-Wmissing-declarations -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs -pipe -DXRL_PF=120 -DXORP_VERSION=1.8.5 -Iobj/i686-pc-linux-gnu -I. 
-Iobj/i686-pc-linux-gnu/rtrmgr -Irtrmgr -I. rtrmgr/glob_win32.c
flex -Ptplt -t rtrmgr/template.ll > obj/i686-pc-linux-gnu/rtrmgr/lex.tplt.cc
bison -d -ptplt -o obj/i686-pc-linux-gnu/rtrmgr/y.tplt_tab.cc rtrmgr/template.yy
g++ -o obj/i686-pc-linux-gnu/rtrmgr/lex.tplt.o -c -O2 -g3 -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual 
-ftemplate-depth-25 -pipe -DXORP_BUILDINFO -DXRL_PF=120 -DXORP_VERSION=1.8.5 -Iobj/i686-pc-linux-gnu -I. -Iobj/i686-pc-linux-gnu/rtrmgr -Irtrmgr -I. 
obj/i686-pc-linux-gnu/rtrmgr/lex.tplt.cc
cc1plus: warnings being treated as errors
<stdout>: In function ‘int yy_get_next_buffer()’:
<stdout>:9666: warning: comparison between signed and unsigned integer expressions
scons: *** [obj/i686-pc-linux-gnu/rtrmgr/lex.tplt.o] Error 1
scons: building terminated because of errors.
program finished with exit code 2
elapsedTime=811.975911

Any ideas on how to fix that?

Thanks,
Ben


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-hackers mailing list