pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/games/exult



On Fri, Nov 25, 2011 at 09:53:26PM +0000, Joerg Sonnenberger wrote:
 > Module Name: pkgsrc
 > Committed By:        joerg
 > Date:                Fri Nov 25 21:53:26 UTC 2011
 > 
 > Modified Files:
 >      pkgsrc/games/exult: distinfo
 >      pkgsrc/games/exult/patches: patch-ac
 > Added Files:
 >      [lots o' patches]
 >      pkgsrc/games/exult/patches: patch-actions.cc patch-args.cc
 >          patch-audio_xmidi.cc patch-conf_Configuration.cc
 >          patch-conf_xmain.cc patch-files_Flex.h patch-files_IFF.h
 >          patch-files_Table.cc patch-files_U7file.cc patch-files_listfiles.cc
 >          patch-files_msgfile.cc patch-files_utils.h patch-imagewin_ibuf8.cc
 >          patch-objs_chunkter.cc patch-party.cc patch-server_objserial.cc
 >          patch-server_server.cc patch-shapes_shapeinf.cc
 >          patch-shapes_shapewrite.cc patch-tools_cmanip.cc
 >          patch-tools_splitshp.cc patch-usecode_compiler_ucfun.cc
 >          patch-usecode_compiler_uclex.ll patch-usecode_compiler_ucloc.cc
 >          patch-usecode_compiler_ucmain.cc patch-usecode_compiler_ucparse.yy
 >          patch-usecode_compiler_ucsym.cc patch-usecode_ucmachine.cc
 >          patch-usecode_ucxt_head2data.cc patch-usecode_ucxt_include_ops.h
 >          patch-usecode_useval.h
 > 
 > Log Message:
 > Fix build with newer GCC

I still get:

Making all in compiler
bison -y  -d ucparse.yy && mv y.tab.c ucparse.cc
ucparse.yy:89.40-45: warning: symbol REMOVE redeclared
if test -f y.tab.h; then  if cmp -s y.tab.h ucparse.h; then  rm -f y.tab.h;  
else  mv y.tab.h ucparse.h;  fi;  fi
source='ucparse.cc' object='ucparse.o' libtool=no  depfile='.deps/ucparse.Po' 
tmpdepfile='.deps/ucparse.TPo'  depmode=gcc3 /bin/sh ../../depcomp  c++ 
-DHAVE_CONFIG_H -I. -I. -I../.. -I./../../headers -I./.. -I./../../files 
-I./../..   -O2 -Wno-long-long -I/home/pkgbulk/pkg/include -I/usr/X11R7/include 
-I/usr/include -I/home/pkgbulk/pkg/include/SDL -I/usr/X11R7/include/freetype2   
-I/home/pkgbulk/pkg/include -I/usr/X11R7/include -I/usr/include 
-I/home/pkgbulk/pkg/include/SDL -I/usr/X11R7/include/freetype2  
-I/home/pkgbulk/pkg/include -I/usr/X11R7/include -I/usr/include 
-I/home/pkgbulk/pkg/include/SDL -I/usr/X11R7/include/freetype2 -c -o ucparse.o 
`test -f ucparse.cc || echo './'`ucparse.cc
y.tab.c: In function 'int yyparse()':
y.tab.c:3377:24: error: invalid conversion from 'const char*' to 'char*'
y.tab.c:3377:24: error:   initializing argument 1 of 'void yyerror(char*)'
y.tab.c:3492:35: warning: deprecated conversion from string constant to 'char*'
*** Error code 1

Is there a switch to bison to make it generate valid C++?

-- 
David A. Holland
dholland%netbsd.org@localhost



Home | Main Index | Thread Index | Old Index