Skip to content
Tcl Source Code History Of Ticket 9280abbaf57fca3e
Login

History Of Ticket 9280abbaf57fca3e

Artifacts Associated With Ticket 9280abbaf57fca3e

  1. Ticket change [e25bd922b5] (rid 160785) by oehhar on 2018-02-07 18:52:37:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      When compiling current [core-8-branch] [4f6d4a2b15], I get the following compile error:
      
      <verbatim>
      C:\test\tcl-tip499-msgcat-custom-preferences-branch\win\..\generic\tclInt.h(2456) : fatal error C1012: unmatched parenthesis : missing ')'
      </verbatim>
      
      Compiling with MSVC 6 on 32 bit.
      
      All options (I broke the long cl line manually):
      <verbatim>
      cl -nologo -c /D_ATL_XP_TARGETING /DUNICODE /D_UNICODE  -W3
          -FpC:\test\tcl-tip499-msgcat-custom-preferences-branch\win\Release\tcl_ThreadedDynamic\ -Op -QI0f -O2 -YX  -DTCL_TOMMATH -DMP_PREC=4
          -Dinline=__inline -DHAVE_ZLIB=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DTCL_CFGVAL_ENCODING=\"cp1252\" -DSTDC_HEADERS
          -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -DNDEBUG -DTCL_CFG_OPTIMIZED -DNO_STRTOI64 -Zl -DSTATIC_BUILD
          -I"C:\test\tcl-tip499-msgcat-custom-preferences-branch\win\..\win" -I"C:\test\tcl-tip499-msgcat-custom-preferences-branch\win\..\generic"
          -I"C:\test\tcl-tip499-msgcat-custom-preferences-branch\win\..\libtommath"
          -FoC:\test\tcl-tip499-msgcat-custom-preferences-branch\win\Release\tcl_ThreadedDynamic\tclStubLib.obj
          C:\test\tcl-tip499-msgcat-custom-preferences-branch\win\..\generic\tclStubLib.c
      tclStubLib.c
      C:\test\tcl-tip499-msgcat-custom-preferences-branch\win\..\generic\tclInt.h(2456) : fatal error C1012: unmatched parenthesis : missing ')'
      NMAKE : fatal error U1077: 'cl' : return code '0x2'
      Stop.
      </verbatim>
      
    5. foundin initialized to: "core-8-branch"
    6. is_private initialized to: "0"
    7. login: "oehhar"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "oehhar"
    14. subsystem initialized to: "- New Builtin Commands"
    15. title initialized to:
      Compiling core-8-branch with msvc6 32 bit results in compile error in tclInt.h(2456): missing ')'
      
    16. type initialized to: "Bug"
  2. Ticket change [bd61522952] (rid 160804) by sebres on 2018-02-08 10:00:53:

    1. icomment:
      Still worse, I assume your "nmakehlp.exe" was already build previously, therefore nmake runs further...
      I've checked out the clean copy and nmake fails still before compiling with:
      
        rules.vc(1315) : fatal error U1023: syntax error in expression
      
      After short analyze I found that "versions.vc" is wrong (TCL_MINOR_VERSION, etc. are empty), so TCL_VERSION substitutes into "TCL_MINOR_VERSION =  TCL_PATCH_LEVEL =".
      
      This occurs because "nmakehlp.exe" was linked as 40KB pure zero-file (contains zero's only), so "valid" 16-bit application that return always an empty string.
      
      WiP
      
    2. login: "sebres"
    3. mimetype: "text/plain"
  3. Ticket change [9235b55725] (rid 160805) by jan.nijtmans on 2018-02-08 10:35:56:

    1. assignee changed to: "jan.nijtmans"
    2. login: "jan.nijtmans"
    3. mimetype: "text/plain"
  4. Ticket change [a06bf32232] (rid 160806) by sebres on 2018-02-08 12:00:35:

    1. icomment:
      Well the issue with compile to zero-filled "nmakehlp.exe" seems to be my VM-related issue, occurs because of the compiling in VM using shared folders on host system (I assume the cl/link somehow "conflict" with the mapped drive/shared folder driver, etc).
      Doing the same on local drive in the VM works pretty good and creates correct "nmakehlp.exe".
      
    2. login: "sebres"
    3. mimetype: "text/plain"
  5. Ticket change [16b69b3f70] (rid 160809) by sebres on 2018-02-08 13:54:06:

    1. icomment:
      After I've fixed my small problem with "nmakehlp.exe", all was compiled very well.
      
      @Harald:<br/>
      Have you installed all Service Packs for your VS6.0?<br/>
      Which Platform-SDK do you used?<br/>
      If old, may be installing of latest one (working with VS6.0) would be better option for you?
      
      The last SDK that will stil work with VC6.0 is "Windows Server 2003 SP1 Platform SDK",  Version 3790.1830 from 5/2/2005 works fine for me:
      
      <a href="https://www.microsoft.com/en-us/download/details.aspx?id=6510">https://www.microsoft.com/en-us/download/details.aspx?id=6510</a>
      
      After installation, you should pre-set the paths to SDK in your Env or in your VCVARS32.BAT.
      
      My VCVARS32 looks like:
      <code><pre>...
      rem Original VC6.0 paths:
      set INCLUDE=%MSVCDir%\ATL\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\MFC\INCLUDE;%INCLUDE%
      set LIB=%MSVCDir%\LIB;%MSVCDir%\MFC\LIB;%LIB%
      
      rem [SB] use latest SDK (compatible with VS 6.0):
      set PlatformSDK=C:\Program Files\Microsoft Platform SDK
      set INCLUDE=%PlatformSDK%\Include;%INCLUDE%
      set LIB=%PlatformSDK%\Lib;%LIB%
      ...
      </pre></code>
      
      @Jan Could you reproduce it?
      
    2. login: "sebres"
    3. mimetype: "text/x-fossil-wiki"
  6. Ticket change [bb684c4e0a] (rid 160818) by sebres on 2018-02-08 14:48:09:

    1. icomment:
      @Harald: I've reproduced it however (sorry, was my bad - compiled on wrong system, too many test-machines ;)
      
      Fixed now in [ed8f5966a3], branch: fix-9280abbaf57fca3e-long-vs-wide)
      
      @Jan: Just BTW, if compiled for 32-bit (where Tcl_WideInt is not long), I got additionally several hundert warnings like:
      
        warning C4244: '=' : conversion from '__int64 ' to 'int ', possible loss of data
      
      Possibly we should write a macro for "safe" cast with expected truncate (to avoid the warning and for better control of such code-pieces later)?
      
    2. login: "sebres"
    3. mimetype: "text/x-fossil-wiki"
  7. Ticket change [147e4269f3] (rid 160819) by oehhar on 2018-02-08 15:37:19:

    1. icomment:
      Sergey,
      
      first off all, thank you a lot that you care so much.
      And congratualtion that you have found the issue.
      You are a real Wizard...
      
      My environment is similar to your described environment.
      
      The only difference is the platform sdk:
      
      I use Platform SDK (R2) 3790.2075
      
      Ashok wrote once, that there is one slightly newer, which still works with MS-VC6.
      My one failed when building tclkits with Ashoks instructions.
      
      Thank you,
      Harald
      
    2. login: "oehhar"
    3. mimetype: "text/x-fossil-wiki"
    4. username: "oehhar"
  8. Ticket change [94020ef180] (rid 160821) by oehhar on 2018-02-09 08:51:53:

    1. closedate changed to: "2458158.86936683"
    2. closer changed to: "oehhar"
    3. icomment:
      Dear Jan and Sergej,
      
      good work. I have checked, everything works.
      
      Test suite is clean (compared to 8.7a1), but some registry test failures.
      I will open a separated bug for that.
      
      Thank you,
      Harald
      
    4. login: "oehhar"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "oehhar"