Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8fd8c9a64b9e1c5d8725427594b39e216cb84e97
Ticket: 2010028fffffffffffffffffffffffffffffffff
TCL 8.5.2 test failures in x86_64 Interix
User & Date: jerker_back on 2008-07-10 04:00:55
Changes

  1. icomment:
    Logged In: YES 
    user_id=1499688
    Originator: YES
    
    No, the correction I made had nothing to do with the conversion errors.
    I just wanted to point out that the package compiled almost out of the box.
    
    Obviously I edited my 8.5.2 compile and probably made a mistake somewhere (sorry for that). That was why I wanted to track down the function responsible. If I may guess, it could have been the mp_digit type, which is somewhat ambiguous defined in the headers. But I have nothing to back it up. To be sure, I need to debug the failing tests and debugging is rather complicated to setup in Interix. If you want, I could setup a debug session to find out. I could also apply the changes to the 8.5.3 source and run the test again.
    
    About the correction:
    Basically, it's not a good idea to make system or LIBC assumptions of the _MSC_VER define. This will only tell the version of the compiler. In fact, you cannot even be sure of that, because it's also defined by the Intel compiler and by Pelles C compiler. But it's common in open source. The normally undefined MSC __STC__ define have special meaning as a basic fallback option to disable C extensions, quite different from gcc. I would say, don't apply my correction - move all target specific defines to configure.
    
    cheers
    Jerker
    
    
    
    
    
  2. login: "jerker_back"
  3. mimetype: "text/plain"
  4. username: "jerker_back"