Login
User Name:

Password:



Register

Forgot your password?
I3 and IMC
Dec 26, 2024 3:27 am
By GatewaySysop
Hi - Clean SmaugFuss map/description issue..
Dec 15, 2024 7:29 pm
By Samson
AFKMud 2.2.4
Dec 10, 2024 4:09 pm
By Samson
Ubuntu 22.04.5 LTS
Dec 5, 2024 5:10 pm
By Remcon
SmaugFUSS 1.8/1.9
Nov 29, 2024 11:46 am
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
AFKMud 2.2.4
Author: AFKMud Team
Submitted by: Samson
Users Online
Google

Members: 0
Guests: 39
Stats
Files
Topics
Posts
Members
Newest Member
495
3,802
19,702
594
Merlin0760

» SmaugMuds » General » General Discussions » How do we handle the errors c...
Forum Rules | Mark all | Recent Posts
How do we handle the errors caused by gcc4.2? (14 Votes)
Update to const char *argument and adjust all the rest of the code accordingly.  57.14% - 8 votes

Modernize and update to std::string throughout the code.  42.86% - 6 votes

Other. (Post an explanation of your alternative solution.)  0% - 0 votes

How do we handle the errors caused by gcc4.2?
< Newer Topic :: Older Topic >

Pages:<< prev 1, 2, 3, 4, 5 ... next >>
Post is unread #21 Jun 20, 2008 12:02 am   
Go to the top of the page
Go to the bottom of the page

InfiniteAxis
Off the Edge of the Map
GroupAdministrators
Posts1,200
JoinedMar 21, 2006

 
Fix is in the works. :P We gotta cut David some slack, He's in the middle of Graduating and I believe moving to New York. :P

Post is unread #22 Jun 20, 2008 2:00 am   
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts902
JoinedJan 29, 2007

 
Yes... I am in Nevada right now. :wink: Most of my days are spent driving and sight-seeing. Making good progress on the fix, though.

Post is unread #23 Jun 21, 2008 1:00 am   
Go to the top of the page
Go to the bottom of the page

GatewaySysop
Conjurer
GroupMembers
Posts424
JoinedMar 7, 2005

 
Hey congrats on graduation, always a fun time and a big transition. I wasn't trying to rush anyone, just worried that maybe I missed the boat or this was already resolved somewhere else. We lurkers have these problems from time to time. :biggrin:

Keep up the good work! :cool:

Post is unread #24 Jun 21, 2008 9:55 am   
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,945
JoinedJul 26, 2005

 
Well I had waited for awhile on it and a few days ago just went ahead and did it myself (granted I don't doubt it could have been done better) I get a clean compile now while using -Wwrite-strings (in cygwin anyways). I didn't do it for smaugfuss though so can't release it, but just figured I'd chime in that you can probably have it done in a few days time.

Post is unread #25 Jul 10, 2008 2:38 am   
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts902
JoinedJan 29, 2007

 
I've finally gotten my computer up and running again and resumed work on this. It's hard to give a percentage since things sneak up on me from time to time, but I think I'll be done soon. I had to put in some "inelegant" casts here and there but overall it's ok.

Now, it's worth noting that this is going to confuse the hell out of people when they're used to being able to modify stuff willy-nilly: the const version is very picky about what you can change and what you can't.

A lesson I've (re-)learned is that I really dislike dealing with strings in C. :sigh:

Post is unread #26 Jul 10, 2008 6:39 pm   
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts902
JoinedJan 29, 2007

 
OK, it's done. Nearly all changes were just adding the const keyword appropriately. There were a few places where I had to do non-trivial changes like make temporary strings, and those are the most likely places where I messed up. (But of course, it is impossible that I messed up... :cool:)

Unfortunately, as I don't have my server back yet, I can't distribute it as a nice diff like I had planned to do. I should have it ready in a few days (well, as soon as the shipment arrives, that is).

Post is unread #27 Jul 10, 2008 9:07 pm   
Go to the top of the page
Go to the bottom of the page

InfiniteAxis
Off the Edge of the Map
GroupAdministrators
Posts1,200
JoinedMar 21, 2006

 
Awesome. Can't wait.

Post is unread #28 Jul 11, 2008 12:23 am   
Go to the top of the page
Go to the bottom of the page

GatewaySysop
Conjurer
GroupMembers
Posts424
JoinedMar 7, 2005

 
I'll second that. I'll surely be patching it in manually from the diff, but I'm still anxiously waiting to do so. Should be nice to have this issue addressed.

Thanks in advanced for all the hard work put into this! :smile:

Post is unread #29 Jul 15, 2008 2:49 pm   
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts902
JoinedJan 29, 2007

 
Apparently my server box was delivered today, so tonight I'll be able to put it together and hopefully have it online. If I can't get it online tonight (a distinct possibility given that I'll probably get home late after work) I'll just release the src as a .tgz so people can take a look at it with their own diff tools or whatever.

Post is unread #30 Jul 15, 2008 7:18 pm   
Go to the top of the page
Go to the bottom of the page

InfiniteAxis
Off the Edge of the Map
GroupAdministrators
Posts1,200
JoinedMar 21, 2006

 
Eh, one more day wouldn't kill any of us. :P

Post is unread #31 Jul 15, 2008 10:11 pm   
Go to the top of the page
Go to the bottom of the page

Conner
Sorcerer
GroupMembers
Posts870
JoinedMay 8, 2005

 
Kayle said:

Eh, one more day wouldn't kill any of us. :P

Seconded.

Post is unread #32 Jul 15, 2008 10:32 pm   
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts902
JoinedJan 29, 2007

 
Shipment didn't arrive today even though it was scheduled to. :sigh: And since people seem ok with waiting a little bit more, and since I'm feeling exhausted, I'll take care of archiving and uploading tomorrow. :wink:

Post is unread #33 Jul 15, 2008 10:39 pm   
Go to the top of the page
Go to the bottom of the page

InfiniteAxis
Off the Edge of the Map
GroupAdministrators
Posts1,200
JoinedMar 21, 2006

 
Personally, I'm willing to wait for your diffs on the server. :P

Post is unread #34 Jul 17, 2008 10:53 am   
Go to the top of the page
Go to the bottom of the page

Noplex
Apprentice
GroupMembers
Posts62
JoinedAug 30, 2005

 
DavidHaley said:

I've finally gotten my computer up and running again and resumed work on this. It's hard to give a percentage since things sneak up on me from time to time, but I think I'll be done soon. I had to put in some "inelegant" casts here and there but overall it's ok.

Now, it's worth noting that this is going to confuse the hell out of people when they're used to being able to modify stuff willy-nilly: the const version is very picky about what you can change and what you can't.

A lesson I've (re-)learned is that I really dislike dealing with strings in C. :sigh:

Ah, come on, C strings are great!

Glad to see the drive across the country didn't gobble you up. Welcome to good old *cough* New York. That's the smog, not clouds. :-)

Post is unread #35 Jul 21, 2008 11:22 am   
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts902
JoinedJan 29, 2007

 
Is the version of FUSS available for download the most recent one? I'm going to get a fresh copy and then apply my changes to make sure things still compile.

The server is up, I just forgot to open the firewall and I can't do that from work... d'oh. :redface:

Post is unread #36 Jul 21, 2008 2:20 pm   
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,698
JoinedJan 1, 2002

 
Yes, it's the most recent. There haven't been any confirmed additional fixes that need to be placed since the last one was posted some time ago.

Post is unread #37 Jul 22, 2008 9:08 am   
Go to the top of the page
Go to the bottom of the page

Zeno
Sorcerer
GroupMembers
Posts723
JoinedMar 5, 2005

 
Post is unread #38 Jul 23, 2008 12:26 am   
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts902
JoinedJan 29, 2007

 
The patch is available here: http://binarygoblins.dyndns.org:8088/.

Here is a direct link to the diff.

Post is unread #39 Jul 23, 2008 1:04 am   
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,698
JoinedJan 1, 2002

 
I don't mean to sound like an idiot, but.... which one of these is supposed to be FUSS 1.9 with the const fix applied? Your link to the patch leads to several repositories, not a downloadable file.

Post is unread #40 Jul 23, 2008 9:41 am   
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts902
JoinedJan 29, 2007

 
Sorry that that wasn't clear. The current version is always in 'stable', and the one with the fix applied is 'stable-const'.

Pages:<< prev 1, 2, 3, 4, 5 ... next >>