Spam in tcllib discussions
This error occurs when compiling vtwm 5.5.0 on macOS 12 with Apple Clang 14: add_window.c:463:19: error: implicit declaration of function 'time' is invalid in C99 [-Werror,-Wimplicit-function-declaration] int curtime = time(NULL); ^ To fix it, add #include <time.h>.
Newer compilers like llvm.org clang 18 consider this to be an error, not a warning: add_window.c:460:12: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 460 | static lastwingroup = 0; | ~~~~~~ ^ | int add_window.c:461:12: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 461 | static lastwin = 0; | ~~~~~~ ^ | int add_window.c:462:12: error: type specifier missing, defaults...
This warning occurs when compiling vtwm 5.5.0 on macOS 12 with Apple Clang 14: add_window.c:490:32: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare] tmp_win->hints.flags &= !PPosition; ^ /opt/local/include/X11/Xutil.h:105:23: note: expanded from macro 'PPosition' #define PPosition (1L << 2) /* program specified position */ ^
These warnings occur when compiling vtwm 5.5.0 on macOS 12 with Apple Clang 14: add_window.c:460:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static lastwingroup = 0; ~~~~~~ ^ add_window.c:461:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static lastwin = 0; ~~~~~~ ^ add_window.c:462:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static lasttime = 0; ~~~~~~ ^
libintl.h is part of gettext. gettext is not part of Mac OS X so you'll have to install it separately.
error: call to undeclared function 'filedlg_show'
Duplicate of bug #14 which already has a patch to fix this.