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
➜ warnings
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Gohan_TheDragonball
USA (183 posts) Bio
|
| Date
| Wed 11 Oct 2006 12:32 PM (UTC) |
| 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. | | Top |
|
| Posted by
| Samson
USA (683 posts) Bio
|
| Date
| Reply #1 on Wed 11 Oct 2006 02:12 PM (UTC) |
| Message
| | BFD is obsolete for this purpose. You should really give some thought to upgrading to dlsym support for the sake of your sanity :) | | Top |
|
| Posted by
| Conner
USA (381 posts) Bio
|
| Date
| Reply #2 on Wed 11 Oct 2006 03:14 PM (UTC) |
| 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 | | Top |
|
| Posted by
| Samson
USA (683 posts) Bio
|
| Date
| Reply #3 on Fri 13 Oct 2006 02:38 AM (UTC) |
| 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. | | Top |
|
| Posted by
| Conner
USA (381 posts) Bio
|
| Date
| Reply #4 on Sat 14 Oct 2006 07:59 AM (UTC) |
| 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 | | 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.
21,561 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top