Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dab2df023648e84868a6f65925490996c92aded2
Ticket: 419692ffffffffffffffffffffffffffffffffff
c++ & tcl.h inclusion of varargs.h
User & Date: dgp on 2001-05-04 04:17:40
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    Well, the C++ standard has moved on.  The standard
    thing to do in C++ is:
    
    #include <cstdarg>
    
    but that's not C-compatible, so we won't be doing that.
    
    The problem with relying on configure to sort things out
    is that the header file tcl.h is included in the compiling
    of other C/C++ programs that link the Tcl library.  These
    other programs may or may not be using autoconf to manage
    their Makefiles, etc.
    
    In that case, though, it seems the advice to pass back
    to the submitter is that he/she should add -DHAS_STDARG
    in the approprate place(s) in his/her build system.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"