|
From: Harald O. <har...@el...> - 2019-10-05 13:08:10
|
Am 04.10.2019 um 22:03 schrieb Donald G Porter via Tcl-Core: > > Now available at > > https://sourceforge.net/projects/tcl/files/Tcl/8.6.10/ > > are candidate files making up pre-releases of Tcl and Tk 8.6.10. Dear Donald, thank you preparing this. Your staff is ready for testing. ---- Compilation on Windows with MS-VC6++ + PSDK2003SP1. C:\test\tcl8.6.10rc0\win\..\win\tclWinReg.c(1197) : error C2143: syntax error : missing ')' before '*' C:\test\tcl8.6.10rc0\win\..\win\tclWinReg.c(1197) : error C2143: syntax error : missing ';' before '*' C:\test\tcl8.6.10rc0\win\..\win\tclWinReg.c(1197) : error C2059: syntax error : ')' C:\test\tcl8.6.10rc0\win\..\win\tclWinReg.c(1197) : warning C4013: 'regDeleteKeyExProc' undefined; assuming extern returning int C:\test\tcl8.6.10rc0\win\..\win\tclWinReg.c(1197) : error C2143: syntax error : missing ')' before 'type' C:\test\tcl8.6.10rc0\win\..\win\tclWinReg.c(1197) : error C2100: illegal indirection C:\test\tcl8.6.10rc0\win\..\win\tclWinReg.c(1197) : error C2059: syntax error : ')' C:\test\tcl8.6.10rc0\win\..\win\tclWinReg.c(1237) : error C2059: syntax error : ')' NMAKE : fatal error U1077: 'cl' : return code '0x2' This is the reported line, a function pointer. static LSTATUS (* regDeleteKeyExProc) (HKEY, LPCWSTR, REGSAM, DWORD) = (LSTATUS (*) (HKEY, LPCWSTR, REGSAM, DWORD)) NULL; The issue is, that LSTATUS is not (jet) defined in PSDK2003SP1. I had to insert: #if ! defined(LSTATUS) #define LSTATUS LONG #endif To make it compile. Following PSDK2003SP1 documentation and this page, LSTATUS is LONG. https://stackoverflow.com/questions/19547419/errors-in-windows-dword-getlasterror-vs-hresult-vs-lstatus --- Bundled package sqlite3.29.0 compiles with errors: tclsqlite3.c C:\test\tcl8.6.10rc0\pkgs\sqlite3.29.0\win\..\generic\../compat/sqlite3/sqlite3.c(30907) : warning C4056: overflow in floating-point constant arithmetic C:\test\tcl8.6.10rc0\pkgs\sqlite3.29.0\win\..\generic\../compat/sqlite3/sqlite3.c(65551) : warning C4049: compiler limit : terminating line number emission C:\test\tcl8.6.10rc0\pkgs\sqlite3.29.0\win\..\generic\../compat/sqlite3/sqlite3.c(75408) : error C2059: syntax error : 'bad suffix on number' C:\test\tcl8.6.10rc0\pkgs\sqlite3.29.0\win\..\generic\../compat/sqlite3/sqlite3.c(75408) : error C2146: syntax error : missing ')' before identifier 'L' C:\test\tcl8.6.10rc0\pkgs\sqlite3.29.0\win\..\generic\../compat/sqlite3/sqlite3.c(75408) : error C2059: syntax error : 'bad suffix on number' C:\test\tcl8.6.10rc0\pkgs\sqlite3.29.0\win\..\generic\../compat/sqlite3/sqlite3.c(75408) : error C2059: syntax error : ')' C:\test\tcl8.6.10rc0\pkgs\sqlite3.29.0\win\..\generic\../compat/sqlite3/sqlite3.c(81297) : warning C4550: expression evaluates to a function which is missing an argument list C:\test\tcl8.6.10rc0\pkgs\sqlite3.29.0\win\..\generic\../compat/sqlite3/sqlite3.c(81306) : warning C4550: expression evaluates to a function which is missing an argument list C:\test\tcl8.6.10rc0\pkgs\sqlite3.29.0\win\..\generic\../compat/sqlite3/sqlite3.c(81310) : warning C4550: expression evaluates to a function which is missing an argument list C:\test\tcl8.6.10rc0\pkgs\sqlite3.29.0\win\..\generic\../compat/sqlite3/sqlite3.c(93629) : warning C4550: expression evaluates to a function which is missing an argument list C:\test\tcl8.6.10rc0\pkgs\sqlite3.29.0\win\..\generic\../compat/sqlite3/sqlite3.c(93631) : warning C4550: expression evaluates to a function which is missing an argument list C:\test\tcl8.6.10rc0\pkgs\sqlite3.29.0\win\..\generic\../compat/sqlite3/sqlite3.c(93633) : warning C4550: expression evaluates to a function which is missing an argument list NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. The issue is the "LL" in: || (memcmp(&r1, &r2, sizeof(r1))==0 && i >= -2251799813685248LL && i < 2251799813685248LL); If the "LL" is replaced by "L", it compiles well. ---- Tk compilation: tkBind.c C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(311) : error C2059: syntax error : ';' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(330) : error C2059: syntax error : '}' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2061: syntax error : identifier 'PatSeq' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : '}' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2065: 'PatSeq' : undeclared identifier C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'arr' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'arr' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'arr' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'arr' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'arr' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'arr' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'arr' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : warning C4142: benign redefinition of type C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2370: 'size_t' : redefinition; different storage class C:\PROGRA~2\MICROS~2\VC98\INCLUDE\wchar.h(79) : see declaration of 'size_t' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2146: syntax error : missing ';' before identifier 'newCapacity' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'newCapacity' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : warning C4142: benign redefinition of type C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2370: 'size_t' : redefinition; different storage class C:\PROGRA~2\MICROS~2\VC98\INCLUDE\wchar.h(79) : see declaration of 'size_t' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2146: syntax error : missing ';' before identifier 'from' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : 'type' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : warning C4142: benign redefinition of type C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2370: 'size_t' : redefinition; different storage class C:\PROGRA~2\MICROS~2\VC98\INCLUDE\wchar.h(79) : see declaration of 'size_t' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2146: syntax error : missing ';' before identifier 'newCapacity' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'newCapacity' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : warning C4142: benign redefinition of type C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2370: 'size_t' : redefinition; different storage class C:\PROGRA~2\MICROS~2\VC98\INCLUDE\wchar.h(79) : see declaration of 'size_t' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2146: syntax error : missing ';' before identifier 'newSize' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'newSize' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ';' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'elem' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'arr' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : warning C4142: benign redefinition of type C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2370: 'size_t' : redefinition; different storage class C:\PROGRA~2\MICROS~2\VC98\INCLUDE\wchar.h(79) : see declaration of 'size_t' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2146: syntax error : missing ';' before identifier 'at' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'at' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : warning C4142: benign redefinition of type C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2370: 'size_t' : redefinition; different storage class C:\PROGRA~2\MICROS~2\VC98\INCLUDE\wchar.h(79) : see declaration of 'size_t' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2146: syntax error : missing ';' before identifier 'at' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ';' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'elem' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'arrp' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : warning C4228: nonstandard extension used : qualifiers after comma in declarator list are ignored C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ';' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'elem' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : warning C4228: nonstandard extension used : qualifiers after comma in declarator list are ignored C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2143: syntax error : missing ';' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2059: syntax error : ')' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(360) : error C2054: expected '(' to follow 'elem' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(701) : error C2143: syntax error : missing '{' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(706) : error C2143: syntax error : missing ')' before '*' C:\test\tk8.6.10rc0\win\..\generic\tkBind.c(706) : fatal error C1003: error count exceeds 100; stopping compilation All this is caused by the line: DEBUG(unsigned owned:1); /* For debugging purposes. */ If I comment it out, it compiles well. ---- htmlhelp ok install ok Test with real program: ok ----- Tcl Test Compared to Tcl8.6.9 New failing tests (details below): http-4.14, winFCmd-6.1, winFCmd-6.9, winFCmd-6.13, winFCmd-9.3 Not failing any more: cmdAH-25.3.1, sfbug-254, sfbug-257 ----- Tk Test Compared to Tk8.6.9. New failing tests (details below): bind-34.2 Not failing any more: textTag-18.1 Still failing: winfont-2.7, winfont-2.8, winfont-2.9 ==== http-4.14 http::Event FAILED ==== Contents of test case: set token [http::geturl $badurl/?timeout=10 -timeout 10000 -command \#] if {$token eq ""} { error "bogus return from http::geturl" } http::wait $token lindex [http::error $token] 0 ---- Result was: ---- Result should have been (exact matching): connect failed connection refused ==== http-4.14 FAILED ==== winFCmd-6.1 TclpRemoveDirectory: errno: EACCES FAILED ==== Contents of test case: file mkdir td1 testchmod 0 td1 testfile rmdir td1 file exists td1 ---- Test completed normally; Return code was: 0 ---- Return code should have been one of: 1 ==== winFCmd-6.1 FAILED ==== winFCmd-6.9 TclpRemoveDirectory: errno == EACCES FAILED ==== Contents of test case: file mkdir td1 testchmod 0 td1 testfile rmdir td1 file exists td1 ---- Test completed normally; Return code was: 0 ---- Return code should have been one of: 1 ==== winFCmd-6.9 FAILED ==== winFCmd-6.13 TclpRemoveDirectory: write-protected FAILED ==== Contents of test case: file mkdir td1 testchmod 0 td1 testfile rmdir td1 file exists td1 ---- Test completed normally; Return code was: 0 ---- Return code should have been one of: 1 ==== winFCmd-6.13 FAILED ==== winFCmd-9.3 TraversalDelete: DOTREE_PRED FAILED ==== Contents of test case: file mkdir td1/td2 testchmod 0 td1 testfile rmdir -force td1 file exists td1 ---- Test completed normally; Return code was: 0 ---- Return code should have been one of: 1 ==== winFCmd-9.3 FAILED ==== bind-34.2 -warp works relatively to the screen FAILED ==== Contents of test case: # Contrary to bind-32.2, we're directly checking screen coordinates event generate {} <Motion> -x 20 -y 20 -warp 1 update idletasks ; # DoWarp is an idle callback set res [winfo pointerxy .] event generate {} <Motion> -x 200 -y 200 -warp 1 update idletasks ; # DoWarp is an idle callback lappend res {*}[winfo pointerxy .] ---- Result was: 20 19 200 200 ---- Result should have been (exact matching): 20 20 200 200 ==== bind-34.2 FAILED |