Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: be158a56fcb31935060e8a0d46efb7ea768bdc9e
Ticket: 1548330fffffffffffffffffffffffffffffffff
format string warnings on FreeBSD 4-STABLE with gcc 2.95.4
User & Date: das on 2006-08-29 13:29:12
Changes

  1. closedate changed to: "2006-08-29T06:29:12"
  2. closer changed to: "das"
  3. icomment:
    Logged In: YES 
    user_id=90580
    
    what a pain...
    
    gcc4 on Darwin gives the opposite warning about needing %ld rather than %d, 
    because the ints you mention are multiplied by a sizeof, which causes 
    promotion to an unsigned long (as sizeof returns a size_t).
    Maybe size_t is an int on your platform, or gcc2 is buggy about this?
    
    Now added casts to (unsigned long) to make both compilers happy
    
    
  4. login: "das"
  5. mimetype: "text/plain"
  6. resolution changed to: "Fixed"
  7. status changed to: "Closed"
  8. username: "das"