|
2012-06-13
| ||
| 18:51 | • Closed ticket [3388350fff]: mingw64 compiler warnings plus 7 other changes artifact: bf4e74e868 user: nijtmans | |
|
2012-03-12
| ||
| 20:36 | • Ticket [3388350fff]: 4 changes artifact: cf63056dee user: nijtmans | |
|
2011-08-16
| ||
| 15:55 | • Ticket [3388350fff]: 4 changes artifact: 2e17a6a4c1 user: nijtmans | |
|
2011-08-14
| ||
| 05:37 | • Ticket [3388350fff]: 4 changes artifact: 2bae51f10d user: nijtmans | |
|
2011-08-12
| ||
| 20:07 | • Ticket [3388350fff]: 4 changes artifact: 4d7f27a05a user: nijtmans | |
| 17:25 | • Ticket [3388350fff]: 4 changes artifact: 84fa17cff9 user: pawel_sikora | |
|
2011-08-10
| ||
| 00:25 | • Ticket [3388350fff]: 5 changes artifact: d9734ad574 user: dgp | |
|
2011-08-08
| ||
| 13:19 | • New ticket [3388350fff]. artifact: f329a9dea1 user: dgp | |
mingw64 compiler warnings
Closed / Fixed3388350fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 14 years ago
Descriptionplain2011-08-08 13:19:28
Reported by Paweł at http://pastebin.com/dhLe17ep
dgpplain2011-08-10 00:25:11
I saw you making progress on this?
pawel_sikoraplain2011-08-12 17:25:13
i've found one more problem related to mingw32 during tktreectrl-2.3.2 build: (...)/tcl8.6b2/win/tclWinPort.h:122:10: error: redefinition of 'struct _stati64' (...)/_mingw_stat64.h:49:10: note: originally defined here http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64/trunk/mingw-w64-headers/crt/_mingw_stat64.h?revision=4388&view=markup
nijtmansplain2011-08-12 20:07:48
> (...)/tcl8.6b2/win/tclWinPort.h:122:10: error: redefinition of 'struct > _stati64' Any external package including tclWinPort.h (through tclInt.h) is askin for problem, but in this case it's easy to fix. Fixed this on trunk
nijtmansplain2011-08-14 05:37:35
Fixed for Tcl 8.6 and Tk 8.6for Win32 target. Win64 target still to be done. Some of the warnings fixed for Tk 8.4 and 8.5 too, but that has lower priority.
nijtmansplain2011-08-16 15:55:09
Fixed for Tcl and Tk in all branches. At the moment there are only two warnings left (Tcl 8.5, core-8-5-branch): ./../generic/tclDate.c: In function ‘TclDateparse’: ./../generic/tclDate.c:2226:12: warning: ‘TclDatelval.Number’ may be used uninitialized in this function [-Wmaybe-uninitialized] tclWinFile.c: In function ‘WinReadLinkDirectory’: tclWinFile.c:621:52: warning: array subscript is above array bounds [-Warray-bounds] Fixing them requires modification in a generated file resp. a struct definition copied from winnt.h, therefore I will leave it as is. Still to do: Itcl, Thread (and tktreectl, but that's not distributed with Tcl, so out of scope here)
nijtmansplain2012-03-12 20:36:58
Fixed another one in all open branches: gcc -c -O2 -fomit-frame-pointer -Wall -fno-strict-aliasing -I"./../generic" -I" ." -pipe -DHAVE_NO_SEH=1 -DHAVE_NO_LPFN_DECLS=1 -DHAVE_ALLOCA_GCC_INLINE=1 -DHA VE_CAST_TO_UNION=1 -DBUILD_tcl "tclWinFile.c" -o tclWinFile.o tclWinFile.c: In function 'NativeAccess': tclWinFile.c:1394:2: warning: missing braces around initializer [-Wmissing-braces] tclWinFile.c:1394:2: warning: (near initialization for 'samba_unmapped.Value') [-Wmissing-braces] tclWinFile.c:1467:2: warning: passing argument 2 of 'GetSecurityDescriptorOwner' from incompatible pointer type [enabled by default]
nijtmansplain2012-06-13 18:51:06
allow_comments - 1 I don't see any mingw compiler warnings any more (except the tclDate.c:2226:12 and tclWinFile.c:621:52 in Tcl 8.6, which I cannot fix) So, closing.
Log in (anonymous is fine) to add a comment.