Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Users Online
CommonCrawl, Yahoo!, Bing, Majestic-12

Members: 0
Guests: 6
Stats
Files
Topics
Posts
Members
Newest Member
477
3,706
19,240
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » 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, 11:31 am
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, 2: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 >>