Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c6ede7b6a3616ee0483e0f1a6bb6674e0896e0d3
Ticket: 565088ffffffffffffffffffffffffffffffffff
Bring tcl.h into the 1990s
User & Date: jenglish on 2002-06-07 21:56:00
Changes

  1. icomment:
    Logged In: YES 
    user_id=68433
    
    > [...] please avoid any macro like "ANCIENT_COMPILER".
    
    Naturally :-)
    
    Currently I'm using the following CPP symbols:
    NO_PROTOTYPES
    NO_CONST
    NO_VOID
    NO_STDARG
    
    All of which are undefined by default.  This should allow the current build system to work unchanged on any modern compiler.  As far as I can tell, all of the platforms mentioned in tcl.m4/configure.in, as well as Windows (MSVC, Borland C, GCC+CYGWIN, GCC+MINGW) and the Mac satisfy this criteria but please someone correct me if I'm wrong.  I'm unable to test this patch on a pre-ANSI compiler, since I no longer have one available.
    
    
    
  2. login: "jenglish"
  3. mimetype: "text/plain"
  4. username: "jenglish"