[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [multitail] relesaed version 5.1.2 (development)

>>>>> Folkert van Heusden writes:

    > relesaed version 5.1.2 (development)
    >  - some compilation/installation fixes for cygwin
    >  - when a -E was used also all -e's were copied as well

Thanks for applying my patches. But i just noticed 3 warnings when
compiling with my patch. Here is a revised version against 5.1.2:

------------ cut here --------------
diff -urN -x CYGWIN-PATCHES -x 'aclocal.m4*' -x ltmain.sh -x 'config.*' -x depcomp -x install-sh -x missing -x mkinstalldirs -x autom4te.cache -x '*compile' -x Makefile.in.in -x 'intltool*.in' -x 'xml-i18n-*.in' -x '*.pyc' -x '*.mo' -x '*.gmo' -x ABOUT-NLS -x Makevars.template -x COPYING -x INSTALL -x mdate-sh -x '*.orig' -x '*.rej' -x '*~' -x '*.temp' -x texinfo.tex -x ylwrap -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x intltool.m4 -x omf.make -x xmldocs.make origsrc/multitail-5.1.2/misc.c src/multitail-5.1.2/misc.c
--- origsrc/multitail-5.1.2/misc.c	2007-07-06 12:34:51.000000000 +0200
+++ src/multitail-5.1.2/misc.c	2007-07-06 16:36:58.203372800 +0200
@@ -75,9 +75,9 @@
 		dtime_t run_time = get_ts() - mt_started;
+#ifndef __CYGWIN__
 		double v1, v2, v3;
-#ifndef __CYGWIN__
 		get_load_values(&v1, &v2, &v3);
 		mvwprintw(mywin -> win, 6, 2, "Current load of system: %f %f %f", v1, v2, v3);
------------ cut here --------------

By the way, under cygwin I still get the following warnings during
compilation. Is this expected ?

gcc -D__CYGWIN__ -O2 -Wall -DVERSION=\"5.1.2\"  -DCONFIG_FILE=\"/etc/multitail.conf\"   -c -o mt.o mt.c
mt.c: In function `recv_from_fd':
mt.c:3191: warning: passing arg 1 of `gethostbyaddr' from incompatible pointer type
mt.c:3194: warning: assignment discards qualifiers from pointer target type

gcc -D__CYGWIN__ -O2 -Wall -DVERSION=\"5.1.2\"  -DCONFIG_FILE=\"/etc/multitail.conf\"   -c -o cv.o cv.c
cv.c: In function `do_convert':
cv.c:117: warning: passing arg 1 of `mystrdup' discards qualifiers from pointer target type

    > Folkert van Heusden