Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
AFKMud 2.2.2
Mar 3, 2019 5:35 pm
By Samson
Development
Nov 28, 2018 12:10 pm
By Keirath
First Immortal
Oct 12, 2018 2:02 pm
By GatewaySysop
Bug in do_climb( )
Jun 5, 2018 7:31 pm
By joeyfogas
question on overland code
May 31, 2018 12:03 pm
By joeyfogas
SmaugFUSS 1.9.3
Author: Various
Submitted by: Samson
AFKMud 2.2.2
Author: AFKMud Team
Submitted by: Samson
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Remcon, Google

Members: 1
Guests: 12
Stats
Files
Topics
Posts
Members
Newest Member
483
3,743
19,401
655
RodrickMci
Today's Birthdays
tphegley (37)
Related Links
» SmaugMuds » Codebases » SmaugFUSS » Trouble compiling Smaug1.9 on...
Forum Rules | Mark all | Recent Posts

Trouble compiling Smaug1.9 on ubuntu 12.4
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 May 27, 2013 1:31 pm
Go to the top of the page
Go to the bottom of the page

Tyro
Fledgling
GroupMembers
Posts8
JoinedMay 18, 2013

I'm having trouble installing Smaugfuss 1.9 on an Ubuntu 12.4 using g++ 4.6.3. Plz help.

*****************************************************************************************************************************mike@mudserver:~/smaugfuss19/src$ make
make -s smaug
Compiling o/act_move.o....
act_move.c: In function ‘void do_climb(CHAR_DATA*, const char*)’:
act_move.c:2420:9: error: variable ‘found’ set but not used [-Werror=unused-but-set-variable]
act_move.c: In function ‘void do_enter(CHAR_DATA*, const char*)’:
act_move.c:2450:9: error: variable ‘found’ set but not used [-Werror=unused-but-set-variable]
act_move.c: In function ‘void do_leave(CHAR_DATA*, const char*)’:
act_move.c:2488:9: error: variable ‘found’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
make[1]: *** [o/act_move.o] Error 1
make: *** [all] Error 2
mike@mudserver:~/smaugfuss19/src$
       
Post is unread #2 May 27, 2013 4:23 pm
Go to the top of the page
Go to the bottom of the page

Aurin
Magician
GroupMembers
Posts189
JoinedSep 5, 2010

You have 2 simple choices. :)

1. Go through and delete the found variable from those 3 locations.
2. Go through and somehow use the found variable from those 3 locations.

Either way, the bool is pointless--it doesn't do anything nor does it reference anything. Looks like it might have been planned for something, but was never implemented. I would personally go with the removal option.
       
Pages:<< prev 1 next >>