Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e9e79e98575f492c1acc075940daddd94b9b5c07b166b8dd74d96fd4e8f2328e
Ticket: 64165953a0b4778074a9bd14b6ad55f550b606e9
Compilation error of C extensions due to TCL_SIZE_MAX definition
User & Date: jan.nijtmans on 2023-08-27 16:55:34
Changes

  1. assignee changed to: "jan.nijtmans"
  2. closedate changed to: "2460184.20526512"
  3. closer changed to: "jan.nijtmans"
  4. icomment:
    Fixed [here|f9875fd78bf62318]
    
    Since INT_MAX is defined by <limits.h> and PTRDIFF_T by <stdint.h>, it would mean that the set of header files included by <tcl.h> would be different in Tcl 8.7 and 9.0. That's why it's better - just for this single usage - to #define TCL_SIZE_MAX without using INT_MAX/PTRDIFF_MAX.
    
    Thanks for your report!
    
  5. login: "jan.nijtmans"
  6. mimetype: "text/x-fossil-plain"
  7. resolution changed to: "Fixed"
  8. status changed to: "Closed"