Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | [Bug 3388350] mingw64 compiler warnings |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
c911734fe6673f48d950b30a2c53ce54 |
User & Date: | jan.nijtmans 2011-08-13 22:29:46 |
Context
2011-08-16
| ||
17:03 | ttk::range widget implementation, contributed by Goodwin Lawlor [SF#3391905] Leaf check-in: 9c8c4d18 user: jenglish tags: ttk-range-widget | |
08:34 | merge-mark check-in: 2f899f1c user: jan.nijtmans tags: trunk | |
2011-08-13
| ||
22:29 | [Bug 3388350] mingw64 compiler warnings check-in: c911734f user: jan.nijtmans tags: trunk | |
21:51 | [Bug 3388350] mingw64 compiler warnings check-in: 3acc34ab user: jan.nijtmans tags: core-8-5-branch | |
2011-08-08
| ||
18:09 | merge release to trunk check-in: 3fee6bc9 user: dgp tags: trunk | |
Changes
Changes to ChangeLog.
1 2 3 4 5 6 7 | 2011-08-05 Don Porter <[email protected]> *** 8.6b2 TAGGED FOR RELEASE *** * changes: Updates for 8.6b2 release. 2011-08-03 Don Porter <[email protected]> | > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 2011-08-13 Jan Nijtmans <[email protected]> * generic/tkBitmap.c: [Bug 3388350] mingw64 compiler warnings * generic/tkConsole.c * win/tkWinDialog.c * win/tkWinSend.c * win/tkWinSendCom.c 2011-08-05 Don Porter <[email protected]> *** 8.6b2 TAGGED FOR RELEASE *** * changes: Updates for 8.6b2 release. 2011-08-03 Don Porter <[email protected]> |
︙ | ︙ |
Changes to generic/tkBitmap.c.
︙ | ︙ | |||
19 20 21 22 23 24 25 | * * Platform-specific issue: Windows complains when the bitmaps are included, * because an array of characters is being initialized with integers as * elements. For lint purposes, the following pragmas temporarily turn off * that warning message. */ | | | | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | * * Platform-specific issue: Windows complains when the bitmaps are included, * because an array of characters is being initialized with integers as * elements. For lint purposes, the following pragmas temporarily turn off * that warning message. */ #if defined(_MSC_VER) #pragma warning (disable : 4305) #endif #include "error.xbm" #include "gray12.xbm" #include "gray25.xbm" #include "gray50.xbm" #include "gray75.xbm" #include "hourglass.xbm" #include "info.xbm" #include "questhead.xbm" #include "question.xbm" #include "warning.xbm" #if defined(_MSC_VER) #pragma warning (default : 4305) #endif /* * One of the following data structures exists for each bitmap that is * currently in use. Each structure is indexed with both "idTable" and * "nameTable". |
︙ | ︙ |
Changes to generic/tkConsole.c.
︙ | ︙ | |||
108 109 110 111 112 113 114 | ShouldUseConsoleChannel( int type) { DWORD handleId; /* Standard handle to retrieve. */ DCB dcb; DWORD consoleParams; DWORD fileType; | < < < < < < < < | 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | ShouldUseConsoleChannel( int type) { DWORD handleId; /* Standard handle to retrieve. */ DCB dcb; DWORD consoleParams; DWORD fileType; HANDLE handle; switch (type) { case TCL_STDIN: handleId = STD_INPUT_HANDLE; break; case TCL_STDOUT: handleId = STD_OUTPUT_HANDLE; break; case TCL_STDERR: handleId = STD_ERROR_HANDLE; break; default: return 0; break; } handle = GetStdHandle(handleId); |
︙ | ︙ |
Changes to win/tkWinDialog.c.
︙ | ︙ | |||
573 574 575 576 577 578 579 | * GetSaveFileName(). */ { OPENFILENAME ofn; TCHAR file[TK_MULTI_MAX_PATH]; OFNData ofnData; int cdlgerr; int filterIndex = 0, result = TCL_ERROR, winCode, oldMode, i, multi = 0; | | | 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 | * GetSaveFileName(). */ { OPENFILENAME ofn; TCHAR file[TK_MULTI_MAX_PATH]; OFNData ofnData; int cdlgerr; int filterIndex = 0, result = TCL_ERROR, winCode, oldMode, i, multi = 0; const char *extension = NULL, *title = NULL; Tk_Window tkwin = clientData; HWND hWnd; Tcl_Obj *filterObj = NULL, *initialTypeObj = NULL, *typeVariableObj = NULL; Tcl_DString utfFilterString, utfDirString, ds; Tcl_DString extString, filterString, dirString, titleString; Tcl_Encoding unicodeEncoding = TkWinGetUnicodeEncoding(); ThreadSpecificData *tsdPtr = (ThreadSpecificData *) |
︙ | ︙ | |||
699 700 701 702 703 704 705 | } } if (MakeFilter(interp, filterObj, &utfFilterString, initialTypeObj, &filterIndex) != TCL_OK) { goto end; } | < | 699 700 701 702 703 704 705 706 707 708 709 710 711 712 | } } if (MakeFilter(interp, filterObj, &utfFilterString, initialTypeObj, &filterIndex) != TCL_OK) { goto end; } Tk_MakeWindowExist(tkwin); hWnd = Tk_GetHWND(Tk_WindowId(tkwin)); ZeroMemory(&ofn, sizeof(OPENFILENAMEW)); if (LOBYTE(LOWORD(GetVersion())) < 5) { ofn.lStructSize = OPENFILENAME_SIZE_VERSION_400; |
︙ | ︙ |
Changes to win/tkWinSend.c.
︙ | ︙ | |||
988 989 990 991 992 993 994 | */ static int SendEventProc( Tcl_Event *eventPtr, int flags) { | < | | 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 | */ static int SendEventProc( Tcl_Event *eventPtr, int flags) { SendEvent *evPtr = (SendEvent *)eventPtr; TRACE("SendEventProc\n"); Tcl_EvalObjEx(evPtr->interp, evPtr->cmdPtr, TCL_EVAL_DIRECT | TCL_EVAL_GLOBAL); Tcl_DecrRefCount(evPtr->cmdPtr); Tcl_Release(evPtr->interp); return 1; /* 1 to indicate the event has been handled */ } |
︙ | ︙ |
Changes to win/tkWinSendCom.c.
︙ | ︙ | |||
368 369 370 371 372 373 374 | Async( TkWinSendCom *obj, VARIANT Cmd, EXCEPINFO *pExcepInfo, UINT *puArgErr) { HRESULT hr = S_OK; | < | | 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 | Async( TkWinSendCom *obj, VARIANT Cmd, EXCEPINFO *pExcepInfo, UINT *puArgErr) { HRESULT hr = S_OK; VARIANT vCmd; VariantInit(&vCmd); hr = VariantChangeType(&vCmd, &Cmd, 0, VT_BSTR); if (FAILED(hr)) { Tcl_SetObjResult(obj->interp, Tcl_NewStringObj( "invalid args: Async(command)", -1)); SetExcepInfo(obj->interp, pExcepInfo); hr = DISP_E_EXCEPTION; } if (SUCCEEDED(hr)) { if (obj->interp) { Tcl_Obj *scriptPtr = Tcl_NewUnicodeObj(vCmd.bstrVal, (int) SysStringLen(vCmd.bstrVal)); TkWinSend_QueueCommand(obj->interp, scriptPtr); } } VariantClear(&vCmd); return hr; } |
︙ | ︙ |