time_t not defined in .../include/mingw/io.h

Alexander Enchevich Alexander.Enchevich@creo.com
Wed May 21 05:52:00 GMT 2003


* This bug...
-----------------------
Making all in htmldoc...
Compiling gui.cxx...
In file included from /usr/include/mingw/direct.h:41,
                 from gui.cxx:90:
/usr/include/mingw/io.h:71: 'time_t' is used as a type, but is not defined
as a  type.
 
* ...happens when compiling this package:
-----------------------------------------------------------
htmldoc-1.8.23-source.tar.gz, 
sources:
http://freshmeat.net/projects/htmldoc/?topic_id=87%2C154%2C857%2C856%2C853
<http://freshmeat.net/projects/htmldoc/?topic_id=87%2C154%2C857%2C856%2C853>

home page: http://www.easysw.com/htmldoc/ <http://www.easysw.com/htmldoc/> 
Package config.log is attached. (I downloaded fltk and configure detected
it)
 
* Workaround (dunno if this the right way tio fix it - that's simply what I
did to make it compile, it may well be wrong...):
------------------------------------
Add this to /usr/include/mingw/io.h, right after #include <stdio.h>:
#include <time.h>
 
* My cygwin version is:
--------------------------------------------
CYGWIN_NT-5.0 aenchevich 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown
unknown Cygwin
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030521/fde93972/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 20034 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030521/fde93972/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list