Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 1999 19:35:39 -0500 (EST)
From:      Will Andrews <andrews@TECHNOLOGIST.COM>
To:        ports@FreeBSD.org
Subject:   krogue port
Message-ID:  <XFMail.991211193539.andrews@TECHNOLOGIST.COM>

next in thread | raw e-mail | index | archive | help
-ports,
        I have taken the liberty of porting KRogue, a KDE port of the classical
rogue game. For the most part, I have fixed it up to work on FreeBSD.

Of course, there is a limitation. It is currently broken on 3.3-STABLE.. (aside
from kdelibs11/qt142 USE_NEWGCC..)

Here's what happens on 4.0-CURRENT (g++ 2.91.66):
<1 2512-0> (99-12-11 19:32:45) [root@argon ~/ports/krogue]# make
===>  Building for krogue-0.9.5
g++ -c -O2 -fno-strength-reduce -Wall -I/usr/X11R6/include -I/usr/local/include
-I/usr/X11R6/include/X11/qt krogue.cpp
[...continues to the end...]

Here's what happens on 3.3-STABLE (g++ 2.95.2):
<1 5031-0> (99-12-11 19:27:50) [root@shadow ~/will/krogue]# make
===>  Building for krogue-0.9.5
g++295 -c -O2 -fno-strength-reduce -Wall -I/usr/X11R6/include
-I/usr/local/include -I/usr/X11R6/include/X11/qt krogue.cpp
In file included from krogue.cpp:18:
kcmdr.h:29: ANSI C++ forbids data member `cmd' with same name as enclosing class
gmake: *** [krogue.o] Error 1
*** Error code 2

Why is this so? Why does it seem like g++ 2.91.66 is less strict? (Note that
this is NOT a linking issue..)

If need be, I can send-pr the port in to be tested out. It currently works
flawlessly in -CURRENT, but not -STABLE (aside from kdelibs11/qt142 linking). :\

--
Will Andrews <andrews@technologist.com>
GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w---
?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ 
G++>+++ e->++++ h! r-->+++ y?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.991211193539.andrews>