Login
User Name:

Password:



Register

Forgot your password?
Eldhamud code verses AI
Oct 8, 2026 7:23 pm
By eldhamud
Object Reader for SmaugFUSS Created for 1.9.9
Aug 6, 2026 6:33 am
By Angst
do_advance
Jun 27, 2026 10:32 am
By Remcon
Time spamming LOP1.6
Jun 17, 2026 4:03 pm
By Remcon
A Bash Startup Script
Feb 7, 2026 3:49 pm
By eldhamud
SWFotEFUSS 1.5.4
Author: Various
Submitted by: Samson
SWRFUSS 1.4.4
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.9
Author: Various
Submitted by: Samson
AFKMud 3.0.0
Author: AFKMud Team
Submitted by: Samson
SillyMUD 1.2a
Author: J. Brothers, J. Sievert, et al
Submitted by: Samson
Users Online
Anthropic, DotBot, Amazonbot

Members: 0
Guests: 24
Stats
Files
Topics
Posts
Members
Newest Member
518
3,815
19,733
591
RYQMelanie

» SmaugMuds » Codebases » AFKMud Support & Development » Compiler complaint.
Forum Rules | Mark all | Recent Posts

Compiler complaint.
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jan 4, 2025 8:25 pm   
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,991
JoinedJul 26, 2005

 
Compile issue in afkmud
realms.cpp: In function ‘void fread_realm(realm_data*, FILE*)’:
realms.cpp:312:8: warning: variable ‘file_ver’ set but not used [-Wunused-but-set-variable]
  312 |    int file_ver = 0;
      |        ^~~~~~~~

Aside from that though and having to install for it to find gd.h include it was good.

Post is unread #2 Jan 6, 2025 12:54 pm   
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,708
JoinedJan 1, 2002

 
That's not actually unused. The compiler just doesn't understand the way KEY calls work. The file_ver is set there, which obviously uses that variable.

Pages:<< prev 1 next >>