delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/19/12:54:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20050119175434.47986.qmail@web51403.mail.yahoo.com>
Date: Wed, 19 Jan 2005 09:54:34 -0800 (PST)
From: Patrick Samson <p_samson AT yahoo DOT com>
Subject: Re: FileRunner under cygwin - simple compilation fails.
To: cygwin AT cygwin DOT com
In-Reply-To: <Pine.GSO.4.61.0501191137150.17795@slinky.cs.nyu.edu>
MIME-Version: 1.0
X-IsSubscribed: yes

--- Igor Pechtchanski wrote:
> Arg #3 is a pointer to a function (Tcl_CmdProc). 
> See where that's
> declared *in the preprocessed file* (so that all
> macros are expanded) and
> see if your declarations of GetTimeFromSecs, etc,
> correspond to it.  The
> most obvious mismatch is probably the "const char*
> argv[]" vs. your "char*
> argv[]".
> 

From a working source of Postgresql:

static int pltcl_elog(ClientData cdata, Tcl_Interp
*interp,
		   int argc, CONST84 char *argv[]);
                             ^^^^^^^

I'm pretty confident that CONST84 is #defined as CONST
in tcl.h



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019