Hi, I can't compile on a Win XP 26.00 machine with Microsoft Visual Studio 6.0 (no service packs), but I could compile it a while ago. Nmake says:
cl -nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -I./incl ude -o core_ops.obj -c core_ops.c core_ops.c core_ops.c(15) : fatal error C1083: Cannot open include file: 'sys/time.h': No such file or directory NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. I checked, there is NO sys/time.h header in the CRT include directories... Is this just me or is this really a problem? BTW. I'm making a little Object Oriented Basic compiler in Python for Parrot. It's nice and clean and OO (rather uncommented, but I can fix that) :) Maybe it will fit into the languages directory, or is it for Perl-only compilers? I'll upload the code somewhere as soon as it can compile something. Right now I have the lexer and scanner done, and some parts of the parser, but it doesn't compile into Parrot code yet. -Jaen Saul Here's what's in time.h: (cut a little bit to save space) typedef long time_t; typedef long clock_t; struct tm { int tm_sec; /* seconds after the minute - [0,59] */ int tm_min; /* minutes after the hour - [0,59] */ int tm_hour; /* hours since midnight - [0,23] */ int tm_mday; /* day of the month - [1,31] */ int tm_mon; /* months since January - [0,11] */ int tm_year; /* years since 1900 */ int tm_wday; /* days since Sunday - [0,6] */ int tm_yday; /* days since January 1 - [0,365] */ int tm_isdst; /* daylight savings time flag */ }; _CRTIMP char * __cdecl asctime(const struct tm *); _CRTIMP char * __cdecl ctime(const time_t *); _CRTIMP clock_t __cdecl clock(void); _CRTIMP double __cdecl difftime(time_t, time_t); _CRTIMP struct tm * __cdecl gmtime(const time_t *); _CRTIMP struct tm * __cdecl localtime(const time_t *); _CRTIMP time_t __cdecl mktime(struct tm *); _CRTIMP size_t __cdecl strftime(char *, size_t, const char *, const struct tm *); _CRTIMP char * __cdecl _strdate(char *); _CRTIMP char * __cdecl _strtime(char *); _CRTIMP time_t __cdecl time(time_t *);