This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
B18: struct tm compiling bug with <time.h>?
- To: gnu-win32 at cygnus dot com
- Subject: B18: struct tm compiling bug with <time.h>?
- From: Pavel Matsibekker <matsibp at fschp04 dot fisci dot com>
- Date: Tue, 21 Apr 1998 17:03:22 -0400
- Organization: Financial Sciences Corporation
Has anyone run into a problem in B18 when including <time.h> with the
following error:
Date.C:260 invalid use of undefined type 'struct tm'
....
Date.c 542: Aggregate 'struct tm now' has incomplete type and cannot be
initialized
I'm using
#include <sys/types.h>
#include <time.h>
I'm sure I'm including time.h because I do:
#ifdef __TIME_H_
struct tm now;
#endif
Has anyone run into this before and solved it?
Please email. Thanx in advance
pavel
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".