Artifacts Associated With Ticket 511652ffffffffff
Ticket change [d7a71b412b] (rid 124031) by vincentdarley on 2002-02-01 10:51:55:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Since the changes on 2002-01-05 and 2002-01-09, in which various 'Tcl_SetMainLoop' tests were added, tclTest.c will not compile with VC++ 5.2 in debug mode. the error I get is: cl -Z7 -Od -WX -c -W3 -nologo - Fp.\Debug\tcl_Dynamic\ -YX -MDd -I"..\win " -I"..\generic" - Fo.\Debug\tcl_Dynamic\tclTest.obj ..\generic\tclTest.c tclTest.c ..\generic\tclTest.c(4304) : warning C4113: 'void (__cdecl *)(void)' differs in parameter lists from 'void (__cdecl *)(void )' ..\generic\tclTest.c(4304) : error C2220: warning treated as error - no object f ile generated NMAKE : fatal error U1077: 'cl' : return code '0x2' (which I don't understand...) - foundin initialized to: "obsolete: 8.4a4"
- priority initialized to: "7 High"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "vincentdarley"
- subsystem initialized to: "02. Event Loops"
- title initialized to: "tclTest.c won't compile ..'mainloop'"
- type initialized to: "Bug"
Ticket change [17cd8c681d] (rid 122558) by dgp on 2002-02-01 21:36:41:
- icomment:
Logged In: YES user_id=80530 Do you see the same problem when compiling Tk ?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [ba0c9aed35] (rid 129252) by vincentdarley on 2002-02-01 23:27:10:
- icomment:
Logged In: YES user_id=32170 Tk is even worse (but for different reasons). I got two different errors, depending if I was building Tk or Tktest: cl -Z7 -Od -WX -nologo -c -W3 - Fp.\Debug\tk_Dynamic\ -YX -MDd -I"..\win" -I"..\generic" -I"..\bitmaps" -I"..\xlib" -I "..\..\tcl8.4 \win" -I "..\..\tcl8 .4\generic" - Fo.\Debug\tk_Dynamic\tkWinTest.obj ..\win\tkWinTest.c tkWinTest.c NMAKE : fatal error U1073: don't know how to make '\tclThreadTest.obj' Stop. C:\Tcl-source\tk8.4\win>nmake -f makefile.vc OPTS=symbols TCLDIR=..\..\tcl8.4 Microsoft (R) Program Maintenance Utility Version 1.62.7022 Copyright (C) Microsoft Corp 1988-1997. All rights reserved. *** Doing symbols *** Intermediate directory will be '.\Debug\tk_Dynamic' *** Output directory will be '.\Debug' *** Suffix for binaries will be 'd' *** Optional defines are '' cl -DBUILD_tk -Z7 -Od -WX -nologo -c -W3 - Fp.\Debug\tk_Dynamic\ -YX -MDd -I"..\win" -I"..\generic" -I"..\bitmaps" -I"..\xlib" - I "..\..\tcl8.4\win" -I "..\..\tcl8.4\generic" -DUSE_TCL_STUBS - Fo.\Debug\tk_Dynamic\ @C:\WINNT\Profile s\VinceD\LOCALS~1\Temp\nma01344. stubs.c ..\win\stubs.c(258) : warning C4028: formal parameter 3 different from declarati on ..\win\stubs.c(258) : error C2220: warning treated as error - no object file gen erated NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. - login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
- icomment:
Ticket change [bf92522e37] (rid 102271) by dgp on 2002-02-02 00:03:20:
- icomment:
Logged In: YES user_id=80530 OK, back to the original problem. Try changing line 4270: MainLoop(void)
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [a187f98b39] (rid 109731) by vincentdarley on 2002-02-02 00:06:27:
- icomment:
Logged In: YES user_id=32170 That works. For the 'tk' problems, tk\win\stub.c needs to have 'CONST' added as follows: void XSetCommand(display, w, argv, argc) Display* display; Window w; CONST char** argv; int argc; { } the other problem (\tclThreadTest.obj) appears to be a makefile error which should probably be referred to davygrvy cheers, Vince. - login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
- icomment:
Ticket change [1177de2703] (rid 95146) by dgp on 2002-02-02 00:09:09:
- icomment:
Logged In: YES user_id=80530 Good. I trust you will commit the corrections.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [65633a8ac0] (rid 102536) by vincentdarley on 2002-02-02 00:13:06:
- icomment:
Logged In: YES user_id=32170 I don't have any permissions on Tk, so can't do anything there. I'm happy to commit the Tcl change.
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
- icomment:
Ticket change [418e9cd36e] (rid 116212) by vincentdarley on 2002-02-02 00:20:03:
- assignee changed to: "davygrvy"
- icomment:
Logged In: YES user_id=32170 Committed the Tcl fix. Hope someone else can fix 'stubs.c' in Tk. Re-assigning bug to davygrvy to deal with the windows makefile problem in Tk (and changing summary line appropriately).
- login: "vincentdarley"
- mimetype: "text/plain"
- title changed to: "tk compilation problems"
- username: "vincentdarley"
Ticket change [cb9a45882e] (rid 95547) by davygrvy on 2002-02-02 05:57:43:
- icomment:
Logged In: YES user_id=7549 Yup. I get it too. cl -Z7 -Od -WX -nologo -c -W3 - Fp.\Debug\tk_Dynamic\ -YX -MDd -I"..\win" -I"..\generic" -I"..\bitmaps" -I"..\xlib" - I "d:\tcl_workspace\tcl_head\win" - I "d:\tcl_workspace\tcl_head\generic" - Fo.\Debug\tk_Dynamic\tkWinTest.obj ..\wi n\tkWinTest.c tkWinTest.c NMAKE : fatal error U1073: don't know how to make '\tclThreadTest.obj' Stop. - login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [35faad6a66] (rid 107039) by davygrvy on 2002-02-02 06:24:01:
- closedate changed to: "2002-02-01T23:24:01"
- closer changed to: "davygrvy"
- icomment:
Logged In: YES user_id=7549 Fixed.
- login: "davygrvy"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "davygrvy"