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 | core-8-4-branch |
Files: | files | file ages | folders |
SHA1: |
2cc61836d98efd961214351025affab0 |
User & Date: | jan.nijtmans 2011-08-13 20:59:03 |
Context
2011-08-16
| ||
07:57 | [Bug 3388350] mingw64 compiler warnings check-in: 38034808 user: jan.nijtmans tags: core-8-4-branch | |
2011-08-13
| ||
21:51 | [Bug 3388350] mingw64 compiler warnings check-in: 3acc34ab user: jan.nijtmans tags: core-8-5-branch | |
20:59 | [Bug 3388350] mingw64 compiler warnings check-in: 2cc61836 user: jan.nijtmans tags: core-8-4-branch | |
2011-07-28
| ||
08:42 | [Bug 3380684] XEmptyRegion prototype doesn't match usage check-in: b754e2d6 user: jan.nijtmans tags: core-8-4-branch | |
Changes
Changes to ChangeLog.
1 2 3 4 5 6 7 | 2011-07-28 Jan Nijtmans <[email protected]> * xlib/X11/Xutil.h: [Bug 3380684] XEmptyRegion prototype doesn't match usage 2011-06-16 Jan Nijtmans <[email protected]> | > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 2011-08-13 Jan Nijtmans <[email protected]> * generic/tkBitmap.c: [Bug 3388350] mingw64 compiler warnings * generic/tkImgGIF.c * win/tkWinColor.c * win/tkWinX.c 2011-07-28 Jan Nijtmans <[email protected]> * xlib/X11/Xutil.h: [Bug 3380684] XEmptyRegion prototype doesn't match usage 2011-06-16 Jan Nijtmans <[email protected]> |
︙ | ︙ |
Changes to generic/tkBitmap.c.
︙ | ︙ | |||
20 21 22 23 24 25 26 | * * 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. */ | | | | 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 49 | * * 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.bmp" #include "gray12.bmp" #include "gray25.bmp" #include "gray50.bmp" #include "gray75.bmp" #include "hourglass.bmp" #include "info.bmp" #include "questhead.bmp" #include "question.bmp" #include "warning.bmp" #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/tkImgGIF.c.
︙ | ︙ | |||
803 804 805 806 807 808 809 | int interlace; int transparent; { unsigned char initialCodeSize; int v; int xpos = 0, ypos = 0, pass = 0, i; register char *pixelPtr; | | | | 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 | int interlace; int transparent; { unsigned char initialCodeSize; int v; int xpos = 0, ypos = 0, pass = 0, i; register char *pixelPtr; static CONST int interlaceStep[] = { 8, 8, 4, 2 }; static CONST int interlaceStart[] = { 0, 4, 2, 1 }; unsigned short prefix[(1 << MAX_LWZ_BITS)]; unsigned char append[(1 << MAX_LWZ_BITS)]; unsigned char stack[(1 << MAX_LWZ_BITS)*2]; register unsigned char *top; int codeSize, clearCode, inCode, endCode, oldCode, maxCode; int code, firstCode; |
︙ | ︙ |
Changes to win/tkWinColor.c.
︙ | ︙ | |||
34 35 36 37 38 39 40 | typedef struct { char *name; int index; } SystemColorEntry; static SystemColorEntry sysColors[] = { | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | typedef struct { char *name; int index; } SystemColorEntry; static SystemColorEntry sysColors[] = { {"3dDarkShadow", COLOR_3DDKSHADOW}, {"3dLight", COLOR_3DLIGHT}, {"ActiveBorder", COLOR_ACTIVEBORDER}, {"ActiveCaption", COLOR_ACTIVECAPTION}, {"AppWorkspace", COLOR_APPWORKSPACE}, {"Background", COLOR_BACKGROUND}, {"ButtonFace", COLOR_BTNFACE}, {"ButtonHighlight", COLOR_BTNHIGHLIGHT}, {"ButtonShadow", COLOR_BTNSHADOW}, {"ButtonText", COLOR_BTNTEXT}, {"CaptionText", COLOR_CAPTIONTEXT}, {"DisabledText", COLOR_GRAYTEXT}, {"GrayText", COLOR_GRAYTEXT}, {"Highlight", COLOR_HIGHLIGHT}, {"HighlightText", COLOR_HIGHLIGHTTEXT}, {"InactiveBorder", COLOR_INACTIVEBORDER}, {"InactiveCaption", COLOR_INACTIVECAPTION}, {"InactiveCaptionText", COLOR_INACTIVECAPTIONTEXT}, {"InfoBackground", COLOR_INFOBK}, {"InfoText", COLOR_INFOTEXT}, {"Menu", COLOR_MENU}, {"MenuText", COLOR_MENUTEXT}, {"Scrollbar", COLOR_SCROLLBAR}, {"Window", COLOR_WINDOW}, {"WindowFrame", COLOR_WINDOWFRAME}, {"WindowText", COLOR_WINDOWTEXT}, {NULL, 0} }; typedef struct ThreadSpecificData { int ncolors; } ThreadSpecificData; static Tcl_ThreadDataKey dataKey; |
︙ | ︙ |
Changes to win/tkWinX.c.
︙ | ︙ | |||
149 150 151 152 153 154 155 | * particular display and server. */ { char buffer[60]; OSVERSIONINFO os; os.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&os); | | | | 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | * particular display and server. */ { char buffer[60]; OSVERSIONINFO os; os.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&os); sprintf(buffer, "Windows %d.%d %d %s", (int)os.dwMajorVersion, (int)os.dwMinorVersion, (int)os.dwBuildNumber, #ifdef _WIN64 "Win64" #else "Win32" #endif ); Tcl_SetResult(interp, buffer, TCL_VOLATILE); |
︙ | ︙ |