Login
User Name:

Password:



Register

Forgot your password?
 sting skill
Jan 7, 2025 7:32 pm
By Remcon
 south command
Jan 7, 2025 7:22 pm
By Remcon
 mphate
Jan 7, 2025 7:16 pm
By Remcon
 do_setliquid
Jan 7, 2025 3:22 pm
By Remcon
 Array overrun and incorrect string macros used in do_setclass
Jan 7, 2025 3:20 am
By Samson
Help.are for SmaugFUSS1.9.5
Author: Smaug
Submitted by: Remcon
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
Users Online
Anthropic, Bing, Google, Bytespider

Members: 0
Guests: 6
Stats
Files
Topics
Posts
Members
Newest Member
495
3,819
19,758
589
ReubenKeat

» 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,988
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,713
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 >>