Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Smaug and Gcc4.0

Smaug and Gcc4.0

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Robert Powell   Australia  (367 posts)  Bio
Date Wed 26 Oct 2005 08:38 AM (UTC)
Message
For various reasons i now find myself using Fedora Core 4.0 and compiling with Gcc4.0. I was very suprised to see that there were no major errors that i couldnt fix in 2 seconds.

The only warnings that i have left have to do with the QUICKLINK macro, the warning is

warning: comparisons like X<=Y<=Z do have their mathematical meaning.

Now this warning seems to have no effect on the game, and i do remember reading that Samson removed this macro from AFK1.75, falling short of downloading his code and looking at what he did, I was wondering if anyone else has taking the plunge into Gcc4.0 and what fixes or problems you have encountered.

Peace all.

Just a guy having a bit of fun. Nothing more, nothing less, I do not need I WIN to feel validated.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Wed 26 Oct 2005 11:47 AM (UTC)
Message
SmaugFUSS has, FUSS has no errors or warnings in 4.0, so check that source out compared to yours.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #2 on Fri 28 Oct 2005 01:12 PM (UTC)

Amended on Wed 27 Feb 2008 02:16 PM (UTC) by Samson

Message
That's actually the QUICKMATCH macro and the fix is referenced here: http://www.smaugmuds.org/index.php?a=topic&t=1653
Top

Posted by Robert Powell   Australia  (367 posts)  Bio
Date Reply #3 on Sat 29 Oct 2005 01:40 AM (UTC)
Message
Thanks Samson, i think next time i post i will be at home, looking at my puter, looking at the exact warning and not be drunk.


Just a guy having a bit of fun. Nothing more, nothing less, I do not need I WIN to feel validated.
Top

Posted by Robert Powell   Australia  (367 posts)  Bio
Date Reply #4 on Sat 29 Oct 2005 07:46 AM (UTC)
Message
Actually i owe you a bigger thanks Samson, not only did i follow the link, but spent the most of today going through the pages and pages of bugs and adding many of them into my SmaugFUSS 1.4a based mud.

One that i think will be most helpfull is the DISPOSE/STRFREE macro fixes, i had been using non standard macros for those for a long time, i think i got them from mudmagic, anyhow, a lot of the crashes we have had always, in the backtraces listed the DISPOSE macro.

We never had any trouble with these until we moved to a differnet server, never put 2 and 2 together until today. This might just have fixed a few lingering issues i have had.

To anyone else out there with a mud derived from an older FUSS package, or heavens forbid stock 1.4a, i tottaly recommend going through the forums on the smaugfuss site and patching up your code.

Peace and thanks again.

Just a guy having a bit of fun. Nothing more, nothing less, I do not need I WIN to feel validated.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


15,993 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.