Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29317 - vegastrike-0.3.1 won't compile with gcc-3.3
Summary: vegastrike-0.3.1 won't compile with gcc-3.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-22 00:59 UTC by Brandy Westcott (RETIRED)
Modified: 2003-09-23 12:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed vegastrike-0.3.1-gcc-3.3 (vegastrike-gcc-3.3.patch,3.36 KB, patch)
2003-09-22 01:07 UTC, Brandy Westcott (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brandy Westcott (RETIRED) gentoo-dev 2003-09-22 00:59:22 UTC
Preprocessing issues in a couple of files cause the following errors 
when compiling vegastrike-0.3.1 with gcc-3.3: 
 
 
 
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I ../../   -D_UDP_PROTO      
-DHAVE_AL=1   -I/usr/include/python2.2 -DHAVE_PYTHON=1  -I../boost129 
-I../../boost129 -I../src/boost129 -DUSE_BOOST_129   -march=pentium4 -O3 -pipe 
-fomit-frame-pointer  -DGL_GLEXT_LEGACY -O2 -g -Wall  -ffast-math 
-fexpensive-optimizations -malign-loops=2 -malign-jumps=2 -malign-functions=2 
-pipe  -c firekeyboard.cpp 
..... 
In file included from ../../boost129/boost/python.hpp:43, 
                 from ../../python/python_class.h:16, 
                 from hard_coded_scripts.cpp:9: 
../../boost129/boost/python/operators.hpp:184:42: pasting "operator" and "+" 
does not give a valid preprocessing token 
../../boost129/boost/python/operators.hpp:185:42: pasting "operator" and "-" 
does not give a valid preprocessing token 
../../boost129/boost/python/operators.hpp:186:42: pasting "operator" and "*" 
does not give a valid preprocessing token 
 
..... 
 
../../boost129/boost/python/operators.hpp:278:38: pasting "operator" and "&=" 
does not give a valid preprocessing token 
../../boost129/boost/python/operators.hpp:279:38: pasting "operator" and "^=" 
does not give a valid preprocessing token 
../../boost129/boost/python/operators.hpp:280:37: pasting "operator" and "|=" 
does not give a valid preprocessing token 
 
 
 
Portage 2.0.49-r5 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 
2.4.20-gentoo-r6) 
================================================================= 
System uname: 2.4.20-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz 
ccache version 2.2 [enabled] 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" 
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox autoaddcvs ccache" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 oss apm avi crypt cups encode foomaticdb gif gpm jpeg gnome libg++ 
mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms 
xv zlib gtkhtml gdbm berkdb slang readline arts bonobo svga java X sdl tcpd 
pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl 3dfx 
cdr doc dvd sse tcltk tetex -3dnow"
Comment 1 Brandy Westcott (RETIRED) gentoo-dev 2003-09-22 01:07:44 UTC
Created attachment 18114 [details, diff]
proposed vegastrike-0.3.1-gcc-3.3

This fixes token-pasting issues for those who wish to compile
vegastrike using gcc-3.3
Comment 2 Charles Goodwin 2003-09-23 06:28:13 UTC
This can be closed since 0.4.1 is now ready for public consumption:
http://bugs.gentoo.org/show_bug.cgi?id=29419
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-09-23 12:55:25 UTC
in cvs