This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

B18: struct tm compiling bug with <time.h>?


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]