[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error compiling dvtm-0.5.2 application with ncursesw-5.7-18 in cygwin
From: |
Justin Charette |
Subject: |
Error compiling dvtm-0.5.2 application with ncursesw-5.7-18 in cygwin |
Date: |
Tue, 26 Oct 2010 13:26:23 -0700 |
Hi,
I'm hoping you can shed some light on this problem, because google's search just digs up outdated references.
dvtm is a terminal multiplexing program similar to gnu screen I'm successfully using in linux, but having trouble compiling in cygwin.
Here's the error:
$ make
cleaning
dvtm build options:
CFLAGS = -std=c99 -Os -I. -I/usr/include -I/usr/local/include -I/usr/include/ncursesw -DVERSION="0.5.2" -DNDEBUG
LDFLAGS = -L/usr/lib -L/usr/local/lib -lc -lutil -lncursesw
CC = cc
CC dvtm.c
dvtm.c: In function ‘parse_args’:
dvtm.c:909: error: lvalue required as left operand of assignment
dvtm.c:935: error: lvalue required as left operand of assignment
dvtm.c:937: error: lvalue required as left operand of assignment
dvtm.c:939: error: lvalue required as left operand of assignment
make: *** [dvtm.o] Error 1
Here's dvtm.c:909
903: static bool
904: parse_args(int argc, char *argv[]) {
905: int arg;
906: bool init = false;
907:
908: if (!getenv("ESCDELAY"))
909: ESCDELAY = 100;
A message on cygwin mentions that ESCDELAY was changed at some point to handle reentrant code, but I cannot find any documentation regarding this change.
If it's possible to modify the escape delay using environment variables, is it still possible to modify the escape delay in the program source code?
If so, how is this accomplished?
Thanks for your time,
Justin
- Error compiling dvtm-0.5.2 application with ncursesw-5.7-18 in cygwin,
Justin Charette <=