Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f6c2d7ddbdd4d9283e0f4cf79ce527d43bdce371
Ticket: 927411ffffffffffffffffffffffffffffffffff
tclPort.h throws errors
User & Date: vincentdarley on 2004-04-01 11:04:00
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Trying to compile tclvfs on Windows against the latest
    cvs head throws these errors:
    
    ../../cvs-tcl/generic\tclIntDecls.h(702) : error C2143:
    syntax error : missing '
    )' before '*'
    ../../cvs-tcl/generic\tclIntDecls.h(702) : error C2143:
    syntax error : missing '
    {' before '*'
    ../../cvs-tcl/generic\tclIntDecls.h(702) : error C2059:
    syntax error : 'type'
    ../../cvs-tcl/generic\tclIntDecls.h(702) : error C2059:
    syntax error : ')'
    ../../cvs-tcl/generic\tclIntDecls.h(1115) : error
    C2143: syntax error : missing
    ')' before '*'
    ../../cvs-tcl/generic\tclIntDecls.h(1115) : error
    C2143: syntax error : missing
    ';' before '*'
    ../../cvs-tcl/generic\tclIntDecls.h(1115) : error
    C2059: syntax error : '*'
    ../../cvs-tcl/generic\tclIntDecls.h(1115) : error
    C2059: syntax error : ')'
    ../../cvs-tcl/generic\tclIntDecls.h(1164) : error
    C2059: syntax error : '}'
    ../../cvs-tcl/generic\tclIntDecls.h(1169) : error
    C2143: syntax error : missing
    '{' before '*'
    C:\Progra~1\devstudio\vc\include\time.h(154) : warning
    C4142: benign redefinitio
    n of type
    C:\Progra~1\devstudio\vc\include\time.h(154) : error
    C2372: 'time' : redefinitio
    n; different types of indirection
    ..\generic\vfs.c(963) : error C2223: left of
    '->tclInExit' must point to struct/
    union
    
    This appears to be due to vfs.c doing this:
    
    #include <tcl.h>
    /* Required to access the 'stat' structure fields */
    #include "tclPort.h"
    
    If one adds a 
    
    #include "tclInt.h"
    
    in between those two includes, then the compilation
    proceeds ok.
    
    At the least this behaviour change should be documented
    in the ChangeLog.
    
    
  4. foundin changed to: "obsolete: 8.5a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "vincentdarley"
  9. subsystem changed to: "53. Configuration and Build Tools"
  10. title changed to: "tclPort.h throws errors"
  11. type changed to: "Bug"