Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inconsistent declaration of CamlCBCmd() #4614

Closed
vicuna opened this issue Sep 15, 2008 · 1 comment
Closed

inconsistent declaration of CamlCBCmd() #4614

vicuna opened this issue Sep 15, 2008 · 1 comment
Assignees

Comments

@vicuna
Copy link

vicuna commented Sep 15, 2008

Original bug ID: 4614
Reporter: Charles Martin
Assigned to: @garrigue
Status: closed (set by @garrigue on 2008-09-26T07:36:29Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.11+dev
Fixed in version: 3.11+dev
Category: otherlibs

Bug description

./otherlibs/labltk/support/camltk.h:
extern int CamlCBCmd(ClientData clientdata, Tcl_Interp *interp, int argc, CONST84 char **argv);

./otherlibs/labltk/support/cltkCaml.c:
#if (TK_MAJOR_VERSION == 8 && TK_MINOR_VERSION >= 4 || TK_MAJOR_VERSION > 8)
int CamlCBCmd(ClientData clientdata, Tcl_Interp *interp, int argc, CONST84 char **argv)
#else
int CamlCBCmd(ClientData clientdata, Tcl_Interp *interp, int argc, char **argv)
#endif

Additional information

This was a compile error for me, using tk8.3. Replacing the camltk.h declaration with the same #ifdef logic as cltkCaml.c fixed the problem.

@vicuna
Copy link
Author

vicuna commented Sep 26, 2008

Comment author: @garrigue

define CONST84 when not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants