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-files_Flex.h patch-files_IFF.h
 > patch-files_utils.h
 >          patch-usecode_compiler_uclex.ll
 > patch-usecode_compiler_ucparse.yy
 > 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
ucparse.yy:89.40-45: warning: symbol REMOVE redeclared
if test -f; then  if cmp -s ucparse.h; then  rm -f;  
else  mv ucparse.h;  fi;  fi
source='' 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 || echo './'` In function 'int yyparse()': error: invalid conversion from 'const char*' to 'char*' error:   initializing argument 1 of 'void yyerror(char*)' 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

Home | Main Index | Thread Index | Old Index