Elizabeth,
thanks for the assistance. Tried a few things based on your
suggestion and here is what I changed...
I did try your suggestion to no avail...got this solution
from the prior Ns_Jk2JavaTclCommand function which had the
updated decleration.
in the nstclcommand.c file......
from
"static int Ns_Jk2JavaTclRegCmd(ClientData arg, Tcl_Interp
*interp, int argc, CONST char **argv)"
to
"static int Ns_Jk2JavaTclRegCmd(ClientData arg, Tcl_Interp
*interp, int argc, char *argv[])"
it now compiles with a few warnings, but it compiles
correctly from what i could see.
let me know if you have any questions, and thanks again for
the assistance :)
David Mott
x4542
|---------+---------------------------->
| | Elizabeth Thomas |
| | <[EMAIL PROTECTED]|
| | OM> |
| | Sent by: |
| | AOLserver |
| | Discussion |
| | <[EMAIL PROTECTED]|
| | RV.AOL.COM> |
| | |
| | |
| | 08/02/2004 02:14 |
| | PM |
| | Please respond to|
| | AOLserver |
| | Discussion |
| | |
|---------+---------------------------->
>----------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc: (bcc: David Mott/BNA Inc)
|
| Subject: Re: [AOLSERVER] nsjk2_beta2_v3 compile problems
|
>----------------------------------------------------------------------------------------------|
The warnings on pointer to integer of different size are
quite annoying
(and I've been wrestling with the 'right' way to suppress
those), but
should be harmless. I'm assuming the compile is failing
because of:
>
winchester/bwd/java/nsjk2_v3/util/native2/javatcl/nstclcommand.c:278:
> conflicting types for `Ns_Jk2JavaTclRegCmd'
> [so]
>
/winchester/bwd/java/nsjk2_v3/util/native2/javatcl/nstclcommand.c:77:
> previous declaration of `Ns_Jk2JavaTclRegCmd'
My particular compiler (gcc-3.3.1) doesn't fail on that, but
yours
doesn't seem to like the match between Tcl_CmdProc as the
function
prototype and the definition in the code:
(ClientData arg, Tcl_Interp *interp, argc, CONST char
**argv)
Try changing the last arg to CONST char *argv[] and see if
it is happier
(if so, I'll fix the code accordingly)
-Elizabeth
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to
<[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can
leave the Subject: field of your email blank.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of
your email blank.