This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: FileRunner under cygwin - simple compilation fails.
- From: Patrick Samson <p_samson at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 19 Jan 2005 09:54:34 -0800 (PST)
- Subject: Re: FileRunner under cygwin - simple compilation fails.
--- 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/