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 ➜ swr1fuss prompt problems

swr1fuss prompt problems

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


Pages: 1  2 

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #15 on Fri 25 Feb 2005 02:35 AM (UTC)
Message
It is in SMAUG, but not in SWR, I beleive SWR was based on SMAUG 1.2a, though I can't be certain.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by Asean Novari   USA  (82 posts)  Bio
Date Reply #16 on Fri 25 Feb 2005 02:36 AM (UTC)
Message
no i dont really understand all of the errors.. if i did then i wouldnt be posting them.. and for swr1fuss it appears that no its not installed



Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #17 on Fri 25 Feb 2005 02:43 AM (UTC)

Amended on Fri 25 Feb 2005 02:46 AM (UTC) by Greven

Message
player.c:1150: error: `buf' undeclared (first use in this function)
player.c:1150: error: (Each undeclared identifier is reported only once
player.c:1150: error: for each function it appears in.)
This means that the variable used in that section of code, in this specific circumstance "buf", is not declared at the begining of the function, and its either a typo (which its not in this circumstance), or that its not declared, so you need to declare it.

player.c:1153: warning: implicit declaration of function `full_color'
player.c:1160: warning: `full_color' was declared implicitly `extern' and later `static'
player.c:1153: warning: previous declaration of `full_color'
player.c:1160: warning: type mismatch with previous implicit declaration
player.c:1153: warning: previous implicit declaration of `full_color'
These are all togeher, the implicit line means that you do not this defined or declared anywhere above it, so it needs to be, either through a function prototype or having the function above it in the file. Because its not defined/declared, it defaults to something and then when the compiler finds it below that, it gets type mismatching. A prototype will fix those last bit of errors.


Check this for more information:
http://vergil.chemistry.gatech.edu/resources/programming/c-tutorial/basic2.html

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
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.


48,427 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

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.