Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Yandex, Google

Members: 0
Guests: 7
Stats
Files
Topics
Posts
Members
Newest Member
481
3,734
19,366
618
Micheal64X
Today's Birthdays
Vintar (28)
Related Links
» SmaugMuds.org » General » Coding » Fuss question
Forum Rules | Mark all | Recent Posts

Fuss question
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Apr 2, 2003, 8:09 pm
Go to the top of the page
Go to the bottom of the page

Zhamel

GroupMembers
Posts68
JoinedApr 5, 2005

Was taking a look at FUSS, and noticed this bug while compiling. It's "stock", straight off of the site.
gcc -c -O -g2 -Wall act_wiz.c
act_wiz.c: In function `do_setclass':
act_wiz.c:7589: warning: implicit declaration of function `FCLOSE'

and here...
act_wiz.o: In function `do_setclass':
/home2/zhamel/smaug/src/act_wiz.c:7589: undefined reference to `FCLOSE'
/home2/zhamel/smaug/src/act_wiz.c:7641: undefined reference to `FCLOSE'
act_wiz.o: In function `do_setrace':
/home2/zhamel/smaug/src/act_wiz.c:7993: undefined reference to `FCLOSE'
/home2/zhamel/smaug/src/act_wiz.c:8019: undefined reference to `FCLOSE'
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1

What is this FCLOSE?
       
Post is unread #2 Apr 2, 2003, 10:29 pm
Go to the top of the page
Go to the bottom of the page

Guest - (Unregistered)

What is this FCLOSE?

FCLOSE is a #define somewhere which replaces all the calls to fclose() to close file pointers and tidy them up and reset them to NULL, rather than just flocse() them.

Samson got the Macro from somewhere, but I forget exactly where... you could try having a nose in the AFK sources as its prolly in there too, fraid I dunno what FCLOSE exactly represents though.
       
Post is unread #3 Apr 3, 2003, 5:23 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

Or you could go back and download the package again since the inclusion of the FCLOSE macro was an accident :P
       
Post is unread #4 Apr 3, 2003, 8:15 am
Go to the top of the page
Go to the bottom of the page

Zhamel

GroupMembers
Posts68
JoinedApr 5, 2005

I'll probably end up doing what both of you suggested. I'm bad like that, now I want to know about FCLOSE. The "how's", "why's" and all that.
       
Pages:<< prev 1 next >>