Date: Fri, 18 Aug 2000 09:35:09 +0200 (MEST) From: Martin Husemann <martin@rumolt.teuto.de> To: ingolf@jellonet.de (Ingolf Koch) Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: patches to compile on NetBSD-1.5_ALPHA{,2} available? Message-ID: <200008180735.e7I7Z9928609@rumolt.teuto.de> In-Reply-To: <20000818004414.A7231@maus.local.net> from Ingolf Koch at "Aug 18, 2000 00:44:14 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> are there patches (or even a new version) for i4b available > which allow compilation and usage on NetBSD-1.5_ALPHA{,2}? No, which is entirely my fault (or, you could blaim my boss for grunging me too hard and long). > cc -O2 -m486 -O3 -I/usr/src/i4b/isdnd/../isdnmonitor -I/usr/src/i4b/isdnd/../isdntel -I/usr/src/i4b/isdnd -DDEBUG -g -Wall -I/usr/src/i4b/isdnd/.. -DUSE_CURSES -DI4B_EXTERNAL_MONITOR -Werror -c log.c > cc1: warnings being treated as errors > log.c: In function `log': > log.c:175: warning: field width is not type int (arg 5) > *** Error code 1 Easy, just add a cast to int (the COLS macro is not int any more): #if defined(__FreeBSD_version) && __FreeBSD_version >= 400009 #warning "FreeBSD ncurses is buggy: write to last column = auto newline!" COLS-((strlen(dp))+(strlen(logtab[what].text))+3), buffer); #else (int)(COLS-((strlen(dp))+(strlen(logtab[what].text))+2)), buffer); #endif wrefresh(lower_w); Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008180735.e7I7Z9928609>