Tcl Source Code

View Ticket
Login
Ticket UUID: df08482b042a16007f256bfbaaacfbe0def01074
Title: Double defined INFINITY in regguts.h
Type: Bug Version: 8.6.3.1
Submitter: anonymous Created on: 2015-01-24 00:30:21
Subsystem: 43. Regexp Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2015-01-26 20:58:25
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2015-01-26 20:58:25
Description:
The generic/regguts.h header defines INFINITY, which may already have been defined by math.h and included via system headers included from generic/tclInt.h.

(I'm testing with an unreleased version of MSVC 14, and things may change before it's released, but #includes within system headers are allowed to change at any time AIUI, so this is risky regardless.)
User Comments: jan.nijtmans added on 2015-01-26 20:58:25:

Fixed in core-8-5-branch [4087cc2323a2ae8d7041cb1d6f840713a3925da2|4087cc2323] and trunk [fd1317ae1809d4540ef2bbf3d5950c2f06bd1df9|fd1317ae1809d4540ef2bbf3d5950c2f06bd1df9].

Thanks!