Login
User Name:

Password:



Register

Forgot your password?
Overland with Bitmaps
Jul 4, 2025 11:57 pm
By Samson
void nanny_get_new_race -- comm.c
Mar 13, 2025 7:08 am
By Elwood
IPv6
Jan 25, 2025 10:45 pm
By Samson
mudstrlcpy and mudstrlcat
Jan 18, 2025 5:23 pm
By Samson
I3 and IMC
Jan 17, 2025 9:35 pm
By Samson
SWFotEFUSS 1.5.3
Author: Various
Submitted by: Samson
SWRFUSS 1.4.3
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.8
Author: Various
Submitted by: Samson
AFKMud 2.5.2
Author: AFKMud Team
Submitted by: Samson
SmaugFUSS 1.9.7
Author: Various
Submitted by: Samson
Users Online
Anthropic, AhrefsBot, CommonCrawl, Amazonbot, Bing, Majestic-12

Members: 0
Guests: 3
Stats
Files
Topics
Posts
Members
Newest Member
507
3,812
19,725
596
RosemarieC

» 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,992
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 >>