Package Details: ctk 8.0.4001-1

Git Clone URL: https://aur.archlinux.org/ctk.git (read-only, click to copy)
Package Base: ctk
Description: A Curses implementation of Tk / Make your Tk apps CUI apps
Upstream URL: http://rkeene.org/devel/ctk/
Licenses: MIT
Submitter: sparques
Maintainer: sparques
Last Packager: sparques
Votes: 0
Popularity: 0.000000
First Submitted: 2017-08-15 18:13 (UTC)
Last Updated: 2017-08-15 18:13 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2025-10-01 13:40 (UTC)

You should add -Wno-error=incompatible-pointer-types -Wno-error=int-conversion to $CFLAGS:

tkMain.c: In function ‘Tk_Main’:
tkMain.c:178:34: error: passing argument 2 of ‘tclStubsPtr->tcl_Merge’ from incompatible pointer type [-Wincompatible-pointer-types]
  178 |     args = Tcl_Merge(argc-1, argv+1);
      |                              ~~~~^~
      |                                  |
      |                                  char **
tkMain.c:178:34: note: expected ‘const char * const*’ but argument is of type ‘char **’
tkMain.c: In function ‘StdinProc’:
tkMain.c:438:27: error: passing argument 1 of ‘tclStubsPtr->tcl_CreateFileHandler’ makes integer from pointer without a cast [-Wint-conversion]
  438 |     Tcl_CreateFileHandler(chan, 0, StdinProc, (ClientData) chan);
      |                           ^~~~
      |                           |
      |                           Tcl_Channel {aka struct Tcl_Channel_ *}
tkMain.c:438:27: note: expected ‘int’ but argument is of type ‘Tcl_Channel’ {aka ‘struct Tcl_Channel_ *’}
[...]

Regards and thanks for the package!