[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  warnings

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

warnings

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Gohan_TheDragonball   USA  (183 posts)  [Biography] bio
Date Wed 11 Oct 2006 12:32 PM (UTC)  quote  ]
Message
hey, just tryin to clear up some stragglin errors:

gcc -c -O -g3 -Wall -DREQUESTS -DSMAUG14 -DTIMEFORMAT -DREGEX tables.c
tables.c: In function `spell_function':
tables.c:74: warning: cast to pointer from integer of different size
tables.c: In function `skill_function':
tables.c:91: warning: cast to pointer from integer of different size
tables.c: In function `spell_name':
tables.c:105: warning: cast to pointer from integer of different size
tables.c: In function `skill_name':
tables.c:122: warning: cast to pointer from integer of different size

they are all pointing to the following line(s), all the same thing


return (SPELL_FUN *) (fun_syms->value + fun_syms->section->vma);


this is a bfd section of code, i've always had this warning as far back as i can remember, so its nothing changed recently for those who like to ask that question constantly.
[Go to top] top

Posted by Samson   USA  (683 posts)  [Biography] bio
Date Reply #1 on Wed 11 Oct 2006 02:12 PM (UTC)  quote  ]
Message
BFD is obsolete for this purpose. You should really give some thought to upgrading to dlsym support for the sake of your sanity :)

SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center

"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
[Go to top] top

Posted by Conner   USA  (381 posts)  [Biography] bio
Date Reply #2 on Wed 11 Oct 2006 03:14 PM (UTC)  quote  ]
Message
*snicker* or even downgrading to the original method of having the double set of tables.c entries which didn't produce that sort of issue. ;)

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org
[Go to top] top

Posted by Samson   USA  (683 posts)  [Biography] bio
Date Reply #3 on Fri 13 Oct 2006 02:38 AM (UTC)  quote  ]
Message
Well upgrading would be easier. In all likelihood he no longer has the manual tables to use and those would be far more painful to put back.

SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center

"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
[Go to top] top

Posted by Conner   USA  (381 posts)  [Biography] bio
Date Reply #4 on Sat 14 Oct 2006 07:59 AM (UTC)  quote  ]
Message
Sorry, guess I was just in a "mood" that day, but yeah, it probably would be easierto upgrade rather than try to retrofit it at this point, though it did work the old way just fine without those problems too. ;)

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org
[Go to top] 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.


2,960 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]