From owner-freebsd-ports Sat Dec 11 16:36: 0 1999 Delivered-To: freebsd-ports@freebsd.org Received: from pluto.psn.net (pluto.psn.net [207.211.58.12]) by hub.freebsd.org (Postfix) with ESMTP id 980F015024 for ; Sat, 11 Dec 1999 16:35:57 -0800 (PST) (envelope-from will@shadow.blackdawn.com) Received: from 17-044.008.popsite.net ([209.69.196.44] helo=shadow.blackdawn.com) by pluto.psn.net with esmtp (PSN Internet Service 3.12 #1) for ports@FreeBSD.org id 11wwzQ-0000Ex-00; Sat, 11 Dec 1999 17:35:53 -0700 Received: (from will@localhost) by shadow.blackdawn.com (8.9.3/8.9.3) id TAA31365 for ports@FreeBSD.org; Sat, 11 Dec 1999 19:35:39 -0500 (EST) (envelope-from will) Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sat, 11 Dec 1999 19:35:39 -0500 (EST) Reply-To: Will Andrews From: Will Andrews To: ports@FreeBSD.org Subject: krogue port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -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 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