Login
User Name:

Password:



Register

Forgot your password?
 copy_buffer
Jan 6, 2025 7:05 pm
By Remcon
 num_skills possible issue.
Jan 6, 2025 5:38 pm
By Remcon
 log file
Jan 6, 2025 3:38 pm
By Samson
 Hotboot issue
Jan 6, 2025 2:29 pm
By Samson
 Compiling AFKmud 2.2.3
Jan 6, 2025 12:59 pm
By Samson
LOP 1.6
Author: Remcon
Submitted by: Remcon
SWFOTEFUSS 1.5.1
Author: Various
Submitted by: Samson
SWRFUSS 1.4.1
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.5
Author: Various
Submitted by: Samson
AFKMud 2.2.4
Author: AFKMud Team
Submitted by: Samson
Users Online
Anthropic, DotBot, Remcon, Google

Members: 1
Guests: 8
Stats
Files
Topics
Posts
Members
Newest Member
494
3,815
19,749
590
BreannaWal

» 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,982
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,710
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 >>