Menu

#3363 Tcl 8.4 does not build with VS2005.

obsolete: 8.4.12
closed-fixed
2
2011-04-21
2006-02-06
No

TCL could not be compiled in Visual Studio. Complete
build log is attached.

Discussion

  • Erich Schulman

    Erich Schulman - 2006-02-06

    Visual Studio build log

     
  • Donal K. Fellows

    • assigned_to: nobody --> hobbs
     
  • Pat Thoyts

    Pat Thoyts - 2006-03-23

    Logged In: YES
    user_id=202636

    The patches applied to the development HEAD (8.5) have not
    yet been backported to 8.4 branch. In the meantime you
    should use msvc 6 or mingw gcc to compile on windows -- or
    obtain a prebuilt binary.

     
  • Pat Thoyts

    Pat Thoyts - 2006-03-23
    • priority: 5 --> 2
    • assigned_to: hobbs --> patthoyts
    • summary: cannot compile in Visual Studio --> Tcl 8.4 does not build with VS2005.
     
  • Pat Thoyts

    Pat Thoyts - 2006-03-30
     
  • Pat Thoyts

    Pat Thoyts - 2006-03-30

    Logged In: YES
    user_id=202636

    Attaching a patch that implements msvc8 support for the 8.4
    branch. This produces no test failures on my system when
    compiling for win32. Trying to build for amd64 does not work
    though.

     
  • Pat Thoyts

    Pat Thoyts - 2006-06-14

    Logged In: YES
    user_id=202636

    Committed the patch plus some extra code to merge in the
    .manifest files generated for msvcrt8. Further issues should
    be raised as win32 build system issues.

     
  • Pat Thoyts

    Pat Thoyts - 2006-06-14
    • status: open --> closed-fixed
     
  • Jan Nijtmans

    Jan Nijtmans - 2011-04-19

    fix API compatibility between different VS versions

     
  • Jan Nijtmans

    Jan Nijtmans - 2011-04-19

    Reopening for the following reason: I think that a different
    definition of Tcl_StatBuf for different VS versions is a bad
    idea: Tcl_StatBuf is part of the public Tcl API, and this
    prevents Tcl build with VS2005+ to work together
    with mingw-compiled extensions (or reverse), whenever
    the Tcl_StatBuf definition is involved.

    Here is a patch for Tcl 8.4 (1424909_2.patch), which
    fixes this: use _stati64 for all WIN32 platforms, no
    matter which compiler.

    This could be a potential incompatibility for VS2005+
    builds, but because the 'standard' build is still MSVC6,
    in practice this is no problem at all.

    The same thing should be done for Tcl 8.5 and 8.6,
    but this patch is for 8.4

    Agreed?

     
  • Jan Nijtmans

    Jan Nijtmans - 2011-04-19
    • status: closed-fixed --> open-fixed
     
  • Jan Nijtmans

    Jan Nijtmans - 2011-04-21

    Let's continue this in [Bug #3288345]

     
  • Jan Nijtmans

    Jan Nijtmans - 2011-04-21
    • status: open-fixed --> closed-fixed