Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-20
04:14 • Ticket [218082ffff] Compilation errors building Tcl8.0.5 on VC++ 6.0 status ... artifact: 2350e32f9e user: dgp
2000-10-26
08:14 • Closed ticket [218082ffff]. artifact: 6f23868a63 user: welch
00:52 • New ticket [218082ffff]. artifact: 123ad02beb user: nobody

Compilation errors building Tcl8.0.5 on VC++ 6.0

Closed / Fixed218082ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:52:58
OriginalBugID: 1693 Bug
Version: 8.0.5
SubmitDate: '1999-04-01'
LastModified: '1999-04-20'
Severity: MED
Status: Closed
Submitter: pat
ChangedBy: rjohnson
OS: Windows NT
OSVersion: 4.0 Service Pack #4.  Visual Studio 6.0 Service Pack #1
Machine: X86
FixedDate: '2000-10-25'
ClosedDate: '1999-04-20'


Name:
Kevin B. Kenny

CVS:
RCS: @(#) $Id: tclProc.c,v 1.17 1999/02/03 00:55:06 stanton Exp $

Extensions:
- NOT RELEVANT -

CustomShell:
- No modifications to core -

ReproducibleScript:
The VC++ 6.0 compiler encounters spurious compilation errors when
    running
    the standard Makefile.vc in the src/tcl8.0.5/win directory in the TclPro
    1.2
    or Tcl 8.0.5 distribution.  The errors are in tclProc.c; a workaround is
    attached.

Patch:
*** tclProc.c.orig Thu Apr  1 17:57:10 1999
--- tclProc.c Thu Apr  1 17:57:04 1999
***************
*** 1339,1345 ****
  TclCmdProcType
  TclGetInterpProc()
  {
!     return TclProcInterpProc;
  }
  
  /*
--- 1339,1345 ----
  TclCmdProcType
  TclGetInterpProc()
  {
!     return & TclProcInterpProc;
  }
  
  /*
***************
*** 1364,1370 ****
  TclObjCmdProcType
  TclGetObjInterpProc()
  {
!     return TclObjInterpProc;
  }
  
  /*
--- 1364,1370 ----
  TclObjCmdProcType
  TclGetObjInterpProc()
  {
!     return & TclObjInterpProc;
  }
  
  /*

PatchFiles:
.../src/tcl8.0.5/generic/tclProc.c



We do not yet support VC 6.0.  However, the patch above will not work on UNIX
systems.  The & would give the address of the address?  Which isn't right.  I
noticed that we have since added a cast - which is probably what the compiler
was complaining about.  I'm closing this bug out.  04/20/1999 13:58 - rjohnson -
welch Closed ticket [218082ffff]. [History diff]2000-10-26 08:14:46
dgp Ticket [218082ffff]: 3 changes [History diff]2001-04-20 04:14:33
Log in (anonymous is fine) to add a comment.