[Ecls-list] patch for (time) in Windows
Dustin Long
dlong at stevens.edu
Tue Oct 3 07:14:56 UTC 2006
The attached patch for time.d changes (time) in Windows to work at a
resolution of approximately 1/60 seconds. This makes it much more useful
for simple profiling.
Also, I had trouble building with a direct cvs pull, so I had to make
this using an old tarball I had lying around. Anyone else have errors in
Windows? Here's the tail of what I got:
dpp: ../../src/c/ffi.d -> ffi.c
Unknown symbol: mp::+load-compile-lock+
Unknown symbol: mp::+load-compile-lock+
.\dpp.exe ../../src/c\alloc_2.d alloc_2.c
dpp: ../../src/c/alloc_2.d -> alloc_2.c
.\dpp.exe ../../src/c\tcp.d tcp.c
dpp: ../../src/c/tcp.d -> tcp.c
.\dpp.exe ../../src/c/arch\ffi_x86.d ffi_x86.c
dpp: ../../src/c/arch/ffi_x86.d -> ffi_x86.c
.\dpp.exe ../../src/c\all_symbols.d all_symbols.c
dpp: ../../src/c/all_symbols.d -> all_symbols.c
cl -c -MD -Zi -GX -DGC_DLL -nologo -DGC_BUILD -I./ -I../
-I..\..\src\c -
I..\..\src/gc/include -o main.obj main.c
main.c
../../src/c/main.d(165) : warning C4033: 'cl_boot' must return a value
../../src/c/main.d(573) : error C2065: 'LPWSTR' : undeclared identifier
../../src/c/main.d(573) : error C2065: 'wArgs' : undeclared identifier
../../src/c/main.d(573) : warning C4552: '*' : operator has no effect;
expected
operator with side-effect
../../src/c/main.d(574) : error C2143: syntax error : missing ';' before
'type'
../../src/c/main.d(581) : error C2065: 'i' : undeclared identifier
../../src/c/main.d(582) : error C2109: subscript requires array or
pointer type
../../src/c/main.d(584) : error C2109: subscript requires array or
pointer type
../../src/c/main.d(584) : warning C4047: 'function' : 'const unsigned
short *' d
iffers in levels of indirection from 'int '
../../src/c/main.d(584) : warning C4024: 'wcstombs' : different types
for formal
and actual parameter 2
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' :
return co
de '0x2'
Stop.
Dustin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20061003/3758f4a0/attachment.ksh>
More information about the ecl-devel
mailing list