Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c86f4e9887fb3b43d8e87d304afe0a6acb267323
Ticket: 2991415fffffffffffffffffffffffffffffffff
tclport.h #include'd before limits.h
User & Date: lvirden on 2010-04-23 14:52:04
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    SunOS 8, Sun C compiler, Tcl 8.6 cvs head
    
    The tclport.h header appears set up to define a variety of macros if not already defined in the compile environment.
    
    In theory, then, it should be included after any general or os specific headers, such as limits.h, giving the OS the opportunity to define the values appropriately for the specific platform.
    
    with the current CVS head, I see the following warnings:
    
    cc .*     /vol/tclsrcsol/tcl86/tcl/generic/regcomp.c
    "/usr/include/limits.h", line 236: warning: macro redefined: LLONG_MIN
    "/usr/include/limits.h", line 237: warning: macro redefined: LLONG_MAX
    :
    as well as most, if not all, of the rest of the tcl core c modules have the same warning being produced.
    
    There are a number of other warnings output during compilation of the tcl source - but none so consistent as these. The libtommath pkg modules don't generate the warning and some of the itcl pkg modules do not...
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "lvirden"
  10. subsystem changed to: "52. Portability Support"
  11. title changed to: "tclport.h #include'd before limits.h"
  12. type changed to: "Bug"