Tk Source Code

View Ticket
Login
Ticket UUID: 0819cc40185037560ed49236b35bfd819d969664
Title: Revised [text]: Patches to build on Windows and Linux
Type: Patch Version: revised_text
Submitter: anonymous Created on: 2017-02-22 22:18:42
Subsystem: 81. Portability Assigned To: fvogel
Priority: 5 Medium Severity: Important
Status: Closed Last Modified: 2017-03-20 23:15:47
Resolution: None Closed By: fvogel
    Closed on: 2017-03-20 23:15:47
Description:
List of changes
---------------

With the changes described below, branch revised_text can be compiled with the
following operating systems / compilers:
Linux / gcc 4.8.1 / gcc 4.8.5 / gcc 4.9.2 ( tested with 64-bit versions)
Windows / gcc 4.9.2 / gcc 5.2.0 (tested with both 32 and 64 bit versions)
Windows / VS2008 / VS2010 / VS2012 / VS2013 / VS2015 ( VS2008 and VS2010 only 32-bit, the others both 32 and 64 bit).

Note, that the changes were applied to branch version http://core.tcl.tk/tk/info/96115bb33cc2befb
Applying change http://core.tcl.tk/tk/info/8e67d85828005b31, breaks the builds.


Several files:
Replaced malloc, realloc, free with standard Tcl allocator ckalloc, ckrealloc, ckfree.
Therefore no need for tkAlloc.h anymore.
This fixes build errors on Linux (occurring with gcc 4.8.1, 4.8.5, 4.9.2):
in file included from Tk/unix/../generic/tkBitField.c:14:0:
Tk/unix/../generic/tkAlloc.h:36:26: error: expected identifier or ‘(’ before ‘void’
 # define malloc(size)  ((void *) (ckalloc(size)))


Several files:
Fixed some declarations of local variables. Must be at the beginning of a block.

File makefile.vc:
Fixed detection of stdint.h and inttypes.h. Added a prototyped replacement file mystdint.h for compilers not having stdint.h.

File tkTextDisp.c:
Add "#define isblank" for VisualStudio older than 2012
TODO: Should be checked, if implementation is correct for all cases?

File tkTextMark.c:
Added direct definition of PRIx64 and PRIx32. No need to include inttypes.h.

File tkTextUndo.c:
Rearranged code "current = stack->current = memset(realloc(current, Size), 0, Size);"
because of internal compiler error with VS 2010.
User Comments: fvogel added on 2017-03-12 12:48:56:
Closing without merging, since branch revised_text now compiles fine on all three platforms (with still some warnings on OS X though).

Thanks for your help anyway!

fvogel added on 2017-02-22 23:13:26:

Thanks for the patch. I have applied it to a branch named "revised_text_ober", that I have created off the commit [96115bb33cc2befb] you mention.

For me it still does not compile. Here is the output I get on vista with VS 2008 32 bits:

Hosing .\Debug_VC9\* ...

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

===============================================================================
*** Compiler has 'Optimizations'
*** Compiler does not have 'Pentium 0x0f fix'
*** Linker has 'Win98 alignment problem'
*** Doing symbols
*** Intermediate directory will be '.\Debug_VC9\tk_ThreadedDynamic'
*** Output directory will be '.\Debug_VC9'
*** Suffix for binaries will be 'tg'
*** Optional defines are '-DTCL_CFGVAL_ENCODING=\"cp1252\" -DSTDC_HEADERS -DTCL_NO_DEPRECATED -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1'
*** Compiler version 9. Target machine is IX86
*** Host architecture is AMD64
*** Compiler options '-W3 /DUNICODE /D_UNICODE /D_ATL_XP_TARGETING  -Ot -Oi -fp:strict -Gs -GS -GL  -RTC1 -W3'
*** Link options '-ltcg'
*** Dependency rules are not being used.

        cl -nologo -c -W3 /DUNICODE /D_UNICODE /D_ATL_XP_TARGETING -W3 -D _CRT_SECURE_NO_DEPRECATE -D _CRT_NONSTDC_NO_DEPRECATE -Fp.\Debug_VC9\tk_ThreadedDynami
c\ -Zi -WX  -RTC1 -DBUILD_ttk -DTCL_CFGVAL_ENCODING=\"cp1252\" -DSTDC_HEADERS -DTCL_NO_DEPRECATED -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1  -DSTDC_HEADERS=1 -DHAVE_
SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1  -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1  -DHAVE_STRINGS_H=1  -DSUPPORT_CONFIG_EMBEDDED  -DHAVE_UXTHEME_H=1 -Din
line=__inline -DMODULE_SCOPE="" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\win" -I"C:\Users\francois\Documents\Development\tcltk-fossil\t
k\win\..\generic" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\bitmaps" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\x
lib"  -I"C:\Users\francois\Documents\Development\tcltk-fossil\tcl\generic" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tcl\win" -Zl -DSTATIC_BUILD -
Fo.\Debug_VC9\tk_ThreadedDynamic\tkStubLib.obj C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkStubLib.c
tkStubLib.c
        cl -DBUILD_tk -Zi -WX  -RTC1 -nologo -c -W3 /DUNICODE /D_UNICODE /D_ATL_XP_TARGETING -W3 -D _CRT_SECURE_NO_DEPRECATE -D _CRT_NONSTDC_NO_DEPRECATE -Fp.\D
ebug_VC9\tk_ThreadedDynamic\ -MDd -I"C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\win" -I"C:\Users\francois\Documents\Development\tcltk-fossil
\tk\win\..\generic" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\bitmaps" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..
\xlib"  -I"C:\Users\francois\Documents\Development\tcltk-fossil\tcl\generic" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tcl\win" -DBUILD_ttk -DTCL_
CFGVAL_ENCODING=\"cp1252\" -DSTDC_HEADERS -DTCL_NO_DEPRECATED -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1  -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1  -
DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1  -DHAVE_STRINGS_H=1  -DSUPPORT_CONFIG_EMBEDDED  -DHAVE_UXTHEME_H=1 -Dinline=__inline -DMODULE_SCOPE="" -DUS
E_TCL_STUBS -Fo.\Debug_VC9\tk_ThreadedDynamic\ @C:\Users\francois\AppData\Local\Temp\nm3850.tmp
ttkStubLib.c
        lib -nologo -nodefaultlib -out:".\Debug_VC9\tkstub87.lib" .\Debug_VC9\tk_ThreadedDynamic\tkStubLib.obj .\Debug_VC9\tk_ThreadedDynamic\ttkStubLib.obj
        cl -Zi -WX  -RTC1 -nologo -c -W3 /DUNICODE /D_UNICODE /D_ATL_XP_TARGETING -W3 -D _CRT_SECURE_NO_DEPRECATE -D _CRT_NONSTDC_NO_DEPRECATE -Fp.\Debug_VC9\tk
_ThreadedDynamic\ -MDd -I"C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\win" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\
generic" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\bitmaps" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\xlib"  -I"
C:\Users\francois\Documents\Development\tcltk-fossil\tcl\generic" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tcl\win" -DBUILD_ttk -DTCL_CFGVAL_ENCO
DING=\"cp1252\" -DSTDC_HEADERS -DTCL_NO_DEPRECATED -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1  -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1  -DHAVE_STDLI
B_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1  -DHAVE_STRINGS_H=1  -DSUPPORT_CONFIG_EMBEDDED  -DHAVE_UXTHEME_H=1 -Dinline=__inline -DMODULE_SCOPE=""  -DTCL_USE_STAT
IC_PACKAGES=0  -Fo.\Debug_VC9\tk_ThreadedDynamic\winMain.obj C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\win\winMain.c
winMain.c
        rc -fo .\Debug_VC9\tk_ThreadedDynamic\wish.res -r -i "C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic" -i ".\Debug_VC9\tk_Threade
dDynamic" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tcl\generic" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tcl\win"  -d DEBUG=1 -d U
NCHECKED=0  -d TCL_THREADS=1  -d STATIC_BUILD=0  C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\win\rc\wish.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl -DBUILD_tk -Zi -WX  -RTC1 -nologo -c -W3 /DUNICODE /D_UNICODE /D_ATL_XP_TARGETING -W3 -D _CRT_SECURE_NO_DEPRECATE -D _CRT_NONSTDC_NO_DEPRECATE -Fp.\D
ebug_VC9\tk_ThreadedDynamic\ -MDd -I"C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\win" -I"C:\Users\francois\Documents\Development\tcltk-fossil
\tk\win\..\generic" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\bitmaps" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..
\xlib"  -I"C:\Users\francois\Documents\Development\tcltk-fossil\tcl\generic" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tcl\win" -DBUILD_ttk -DTCL_
CFGVAL_ENCODING=\"cp1252\" -DSTDC_HEADERS -DTCL_NO_DEPRECATED -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1  -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1  -
DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1  -DHAVE_STRINGS_H=1  -DSUPPORT_CONFIG_EMBEDDED  -DHAVE_UXTHEME_H=1 -Dinline=__inline -DMODULE_SCOPE="" -DUS
E_TCL_STUBS -DTK_ASCII_MAIN -Fo.\Debug_VC9\tk_ThreadedDynamic\tkMain2.obj C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkMain.c
tkMain.c
        rc -fo .\Debug_VC9\tk_ThreadedDynamic\tk.res -r -i "C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic" -i ".\Debug_VC9\tk_ThreadedD
ynamic" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tcl\generic" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tcl\win"  -d DEBUG=1 -d UNC
HECKED=0  -d TCL_THREADS=1  -d STATIC_BUILD=0  C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\win\rc\tk.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl -DBUILD_tk -Zi -WX  -RTC1 -nologo -c -W3 /DUNICODE /D_UNICODE /D_ATL_XP_TARGETING -W3 -D _CRT_SECURE_NO_DEPRECATE -D _CRT_NONSTDC_NO_DEPRECATE -Fp.\D
ebug_VC9\tk_ThreadedDynamic\ -MDd -I"C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\win" -I"C:\Users\francois\Documents\Development\tcltk-fossil
\tk\win\..\generic" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\bitmaps" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..
\xlib"  -I"C:\Users\francois\Documents\Development\tcltk-fossil\tcl\generic" -I"C:\Users\francois\Documents\Development\tcltk-fossil\tcl\win" -DBUILD_ttk -DTCL_
CFGVAL_ENCODING=\"cp1252\" -DSTDC_HEADERS -DTCL_NO_DEPRECATED -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1  -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1  -
DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1  -DHAVE_STRINGS_H=1  -DSUPPORT_CONFIG_EMBEDDED  -DHAVE_UXTHEME_H=1 -Dinline=__inline -DMODULE_SCOPE="" -DUS
E_TCL_STUBS -Fo.\Debug_VC9\tk_ThreadedDynamic\ @C:\Users\francois\AppData\Local\Temp\nm3E99.tmp
tkConsole.c
tk3d.c
tkArgv.c
tkAtom.c
tkBind.c
tkBitField.c
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkBitField.h(26) : error C2220: warning treated as error - no 'object' file generated
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkBitField.h(26) : warning C4005: 'inline' : macro redefinition
        command-line arguments :  see previous definition of 'inline'
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkBitField.c(129) : warning C4146: unary minus operator applied to unsigned type, result
still unsigned
tkBitmap.c
tkBusy.c
tkButton.c
tkCanvArc.c
tkCanvBmap.c
tkCanvImg.c
tkCanvLine.c
tkCanvPoly.c
tkCanvPs.c
tkCanvText.c
tkCanvUtil.c
tkCanvWind.c
tkCanvas.c
tkClipboard.c
Generating Code...
Compiling...
tkCmds.c
tkColor.c
tkConfig.c
tkCursor.c
tkEntry.c
tkError.c
tkEvent.c
tkFileFilter.c
tkFocus.c
tkFont.c
tkFrame.c
tkGC.c
tkGeometry.c
tkGet.c
tkGrab.c
tkGrid.c
tkImage.c
tkImgBmap.c
tkImgGIF.c
tkImgPNG.c
Generating Code...
Compiling...
tkImgPPM.c
tkImgPhoto.c
tkImgPhInstance.c
tkImgUtil.c
tkIntSet.c
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkIntSet.h(32) : error C2220: warning treated as error - no 'object' file generated
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkIntSet.h(32) : warning C4005: 'inline' : macro redefinition
        command-line arguments :  see previous definition of 'inline'
tkListbox.c
tkMacWinMenu.c
tkMain.c
tkMenu.c
tkMenubutton.c
tkMenuDraw.c
tkMessage.c
tkPanedWindow.c
tkObj.c
tkOldConfig.c
tkOption.c
tkPack.c
tkPlace.c
tkPointer.c
tkQTree.c
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : error C2220: warning treated as error - no 'object' file generated
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : warning C4005: 'WCHAR_MIN' : macro redefinition
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(43) : see previous definition of 'WCHAR_MIN'
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkQTree.h(26) : warning C4005: 'inline' : macro redefinition
        command-line arguments :  see previous definition of 'inline'
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkQTree.c(741) : warning C4028: formal parameter 1 different from declaration
Generating Code...
Compiling...
tkRangeList.c
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkRangeList.h(30) : error C2220: warning treated as error - no 'object' file generated
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkRangeList.h(30) : warning C4005: 'inline' : macro redefinition
        command-line arguments :  see previous definition of 'inline'
tkRectOval.c
tkScale.c
tkScrollbar.c
tkSelect.c
tkStyle.c
tkText.c
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : error C2220: warning treated as error - no 'object' file generated
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : warning C4005: 'WCHAR_MIN' : macro redefinition
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(43) : see previous definition of 'WCHAR_MIN'
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkTextUndo.h(40) : warning C4005: 'inline' : macro redefinition
        command-line arguments :  see previous definition of 'inline'
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkText.c(5392) : warning C4146: unary minus operator applied to unsigned type, result sti
ll unsigned
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkText.c(6141) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkText.c(8520) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkText.c(8524) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkText.c(9178) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkText.c(9186) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkText.c(9214) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkText.c(9246) : warning C4018: '<' : signed/unsigned mismatch
tkTextBTree.c
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : error C2220: warning treated as error - no 'object' file generated
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : warning C4005: 'WCHAR_MIN' : macro redefinition
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(43) : see previous definition of 'WCHAR_MIN'
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkTextUndo.h(40) : warning C4005: 'inline' : macro redefinition
        command-line arguments :  see previous definition of 'inline'
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(1444) : warning C4146: unary minus operator applied to unsigned type, resul
t still unsigned
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(1445) : warning C4146: unary minus operator applied to unsigned type, resul
t still unsigned
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(1445) : warning C4146: unary minus operator applied to unsigned type, resul
t still unsigned
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(1445) : warning C4146: unary minus operator applied to unsigned type, resul
t still unsigned
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(1755) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(1773) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(1793) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(1817) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(1821) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(1825) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(4368) : warning C4018: '>=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(4522) : warning C4146: unary minus operator applied to unsigned type, resul
t still unsigned
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(5682) : warning C4146: unary minus operator applied to unsigned type, resul
t still unsigned
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(5848) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(5935) : warning C4018: '>=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(5969) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(6103) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(6104) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(6111) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(6792) : warning C4146: unary minus operator applied to unsigned type, resul
t still unsigned
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(7350) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(7360) : warning C4018: '>=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(7363) : warning C4018: '>' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(7381) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(7442) : warning C4018: '>=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(7452) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(7464) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(9155) : warning C4018: '>' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(9269) : warning C4550: expression evaluates to a function which is missing
an argument list
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(10058) : warning C4550: expression evaluates to a function which is missing
 an argument list
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(12634) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(12691) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(12702) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(12761) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(12812) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(13874) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(14009) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(14531) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(14538) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(14618) : warning C4018: '>=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(14623) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(14732) : warning C4018: '>=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextBTree.c(14742) : warning C4018: '<' : signed/unsigned mismatch
tkTextDisp.c
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : error C2220: warning treated as error - no 'object' file generated
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : warning C4005: 'WCHAR_MIN' : macro redefinition
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(43) : see previous definition of 'WCHAR_MIN'
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkTextUndo.h(40) : warning C4005: 'inline' : macro redefinition
        command-line arguments :  see previous definition of 'inline'
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(1376) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(1558) : warning C4113: 'void (__cdecl *)()' differs in parameter lists from
'void (__cdecl *)(void)'
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(2838) : warning C4018: '>=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(3268) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(3292) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(3778) : warning C4018: '>=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(5321) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(5335) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(5354) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(6655) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(6666) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(6671) : warning C4018: '>' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(6822) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(6982) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(7210) : warning C4018: '>=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(7234) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(7246) : warning C4018: '>' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(7468) : warning C4098: 'TkTextFindDisplayLineStartEnd' : 'void' function ret
urning a value
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(9093) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(9093) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(9100) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(9104) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(9111) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(9117) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(9784) : warning C4018: '>=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(11507) : warning C4018: '>=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(11522) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(11618) : warning C4018: '>=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(11627) : warning C4018: '>=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextDisp.c(12195) : warning C4018: '<=' : signed/unsigned mismatch
tkTextImage.c
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : error C2220: warning treated as error - no 'object' file generated
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : warning C4005: 'WCHAR_MIN' : macro redefinition
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(43) : see previous definition of 'WCHAR_MIN'
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkTextUndo.h(40) : warning C4005: 'inline' : macro redefinition
        command-line arguments :  see previous definition of 'inline'
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextImage.c(361) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextImage.c(638) : warning C4018: '>' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextImage.c(1229) : warning C4018: '<=' : signed/unsigned mismatch
tkTextIndex.c
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : error C2220: warning treated as error - no 'object' file generated
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : warning C4005: 'WCHAR_MIN' : macro redefinition
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(43) : see previous definition of 'WCHAR_MIN'
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkTextUndo.h(40) : warning C4005: 'inline' : macro redefinition
        command-line arguments :  see previous definition of 'inline'
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextIndex.c(179) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextIndex.c(182) : warning C4018: '>' : signed/unsigned mismatch
tkTextLineBreak.c
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : error C2220: warning treated as error - no 'object' file generated
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : warning C4005: 'WCHAR_MIN' : macro redefinition
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(43) : see previous definition of 'WCHAR_MIN'
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkTextUndo.h(40) : warning C4005: 'inline' : macro redefinition
        command-line arguments :  see previous definition of 'inline'
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextLineBreak.c(252) : warning C4018: '>=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextLineBreak.c(252) : warning C4018: '>=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextLineBreak.c(899) : warning C4018: '<' : signed/unsigned mismatch
tkTextMark.c
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : error C2220: warning treated as error - no 'object' file generated
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : warning C4005: 'WCHAR_MIN' : macro redefinition
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(43) : see previous definition of 'WCHAR_MIN'
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkTextUndo.h(40) : warning C4005: 'inline' : macro redefinition
        command-line arguments :  see previous definition of 'inline'
tkTextTag.c
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : error C2220: warning treated as error - no 'object' file generated
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : warning C4005: 'WCHAR_MIN' : macro redefinition
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(43) : see previous definition of 'WCHAR_MIN'
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkTextUndo.h(40) : warning C4005: 'inline' : macro redefinition
        command-line arguments :  see previous definition of 'inline'
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextTag.c(2220) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextTag.c(2262) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextTag.c(2344) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextTag.c(2545) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextTag.c(2560) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextTag.c(2560) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextTag.c(2569) : warning C4018: '<=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextTag.c(2569) : warning C4018: '<=' : signed/unsigned mismatch
tkTextTagSet.c
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkBitField.h(26) : error C2220: warning treated as error - no 'object' file generated
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkBitField.h(26) : warning C4005: 'inline' : macro redefinition
        command-line arguments :  see previous definition of 'inline'
tkTextUndo.c
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkTextUndo.h(40) : error C2220: warning treated as error - no 'object' file generated
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkTextUndo.h(40) : warning C4005: 'inline' : macro redefinition
        command-line arguments :  see previous definition of 'inline'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(43) : warning C4005: 'WCHAR_MIN' : macro redefinition
        c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : see previous definition of 'WCHAR_MIN'
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkTextUndoPriv.h(112) : warning C4018: '>=' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextUndo.c(305) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextUndo.c(415) : warning C4550: expression evaluates to a function which is missing an
 argument list
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextUndo.c(545) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextUndo.c(545) : warning C4018: '<' : signed/unsigned mismatch
C:\Users\francois\Documents\Development\tcltk-fossil\tk\win\..\generic\tkTextUndo.c(951) : warning C4018: '>=' : signed/unsigned mismatch
tkTextWind.c
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : error C2220: warning treated as error - no 'object' file generated
c:\users\francois\documents\development\tcltk-fossil\tk\generic\mystdint.h(118) : warning C4005: 'WCHAR_MIN' : macro redefinition
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(43) : see previous definition of 'WCHAR_MIN'
c:\users\francois\documents\development\tcltk-fossil\tk\generic\tkTextUndo.h(40) : warning C4005: 'inline' : macro redefinition
        command-line arguments :  see previous definition of 'inline'
tkTrig.c
tkUtil.c
tkVisual.c
Generating Code...
Compiling...
tkStubInit.c
tkWindow.c
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.


Attachments: