Re: [PATCH] Implement simple mouse wheel emulation, 4th.

2014-02-27 Thread Marcel Partap
 It fails to compile
more exactly:
 depbase=`echo tty-term.o | sed 's|[^/]*$|.deps/|;s|\.o$||'`;\
 gcc -DPACKAGE_NAME=\tmux\ -DPACKAGE_TARNAME=\tmux\
 -DPACKAGE_VERSION=\1.10\ -DPACKAGE_STRING=\tmux\ 1.10\
 -DPACKAGE_BUGREPORT=\\ -DPACKAGE_URL=\\ -DPACKAGE=\tmux\
 -DVERSION=\1.10\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CURSES_H=1
 -DHAVE_DIRENT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_NCURSES_H=1 -DHAVE_PATHS_H=1 -DHAVE_PTY_H=1 -DHAVE_STDINT_H=1
 -DHAVE_SYS_DIR_H=1 -DHAVE_TERM_H=1 -DHAVE_B64_NTOP=1 -DHAVE_FORKPTY=1
 -DHAVE_DAEMON=1 -DHAVE_SETENV=1 -DHAVE_ASPRINTF=1 -DHAVE_STRCASESTR=1
 -DHAVE_STRSEP=1 -DHAVE_CFMAKERAW=1 -DHAVE_OPENAT=1
 -DHAVE_DECL_OPTARG=1 -DHAVE_DECL_OPTIND=1 -DHAVE_DECL_OPTRESET=0
 -DHAVE_BZERO=1 -DHAVE_DIRFD=1 -DHAVE_SYSCONF=1 -DHAVE_CFMAKERAW=1
 -DHAVE_BSD_TYPES=1 -DHAVE___PROGNAME=1 -DHAVE_PROC_PID=1 -I.
 -DTMUX_CONF=\/etc/tmux.conf\ -DDEBUG -iquote.
 -I/usr/local/include -D_GNU_SOURCE -std=gnu99 -O0 -g
 -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
 -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
 -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare -Wundef
 -Wbad-function-cast -Winline -Wcast-align
 -Wdeclaration-after-statement  -Wno-pointer-sign  -MT tty-term.o -MD
 -MP -MF $depbase.Tpo -c -o tty-term.o tty-term.c \
 mv -f $depbase.Tpo $depbase.Po
 In file included from tty-term.c:31:0:
 tmux.h:1168:16: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before 
 ‘-’ token
   u_int lines;
 ^
 make: *** [tty-term.o] Error 1
which makes absolutely no sense to me.

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: [PATCH] Implement simple mouse wheel emulation, 4th.

2014-02-27 Thread Thomas Adam
On 27 February 2014 16:17, Marcel Partap mpar...@gmx.net wrote:
 In file included from tty-term.c:31:0:
 tmux.h:1168:16: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before 
 ‘-’ token
   u_int lines;
 ^
 make: *** [tty-term.o] Error 1
 which makes absolutely no sense to me.

It does when you realise term.h has #define lines; I suspect that's
what's happening here and the thing causing the error.

-- Thomas Adam

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: [PATCH] Implement simple mouse wheel emulation, 4th.

2014-02-27 Thread Marcel Partap
Thx, found already out by using clang (make --debug was not useful)..
 It does when you realise term.h has #define lines
which is quite a naughty name choice imho.
#Regards.

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users