Edit report at https://bugs.php.net/bug.php?id=5&edit=1

 ID:                 5
 Comment by:         junxing dot lin at yahoo dot com
 Reported by:        asparks at nss dot harris dot com
 Summary:            fclose in php3_minit_file undeclared
 Status:             Closed
 Type:               Bug
 Package:            Compile Failure
 Operating System:   SunOS 4.1.4
 PHP Version:        3.0b3
 Block user comment: N
 Private report:     N

 New Comment:

http://www.chishairstraighteners.net     chi flat iron
http://www.chishairstraighteners.net     chi flat irons
http://www.chishairstraighteners.net     chi hair straightener
http://www.chishairstraighteners.net     chi hair straighteners


Previous Comments:
------------------------------------------------------------------------
[1998-01-29 14:20:01] jim

This should be fixed in the latest CVS (and then PHP/3.0b4). The configure 
script should now automatically detect that the declaration of fclose() is 
missing and set the MISSING_FCLOSE_DECL #define in config.h.

------------------------------------------------------------------------
[1998-01-25 19:46:13] asparks at nss dot harris dot com

Compiling under SunOS 4.1.4:  gcc error trace:

functions/file.c: In function `php3_minit_file':
functions/file.c:254: `fclose' undeclared (first use this function)
functions/file.c:254: (Each undeclared identifier is reported only once
functions/file.c:254: for each function it appears in.)    

Apparently BROKEN_SUN_HEADERS does not get automatically set.
How are these supposed to get set?  Not set by configure.



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=5&edit=1

Reply via email to