forwarded 652416 [email protected] tags 652416 + pending kthxbye Attached is a patch which resolves the issue.
Kind regards, Loong Jin -------- Original Message -------- Subject: Bug#625416: tcptrack: ftbfs with gcc-4.6 -Werror Resent-Date: Tue, 03 May 2011 11:06:24 +0000 Resent-From: Matthias Klose <[email protected]> Resent-To: Chow Loong Jin <[email protected]> Date: Tue, 03 May 2011 10:34:27 +0000 From: Matthias Klose <[email protected]> Reply-To: Matthias Klose <[email protected]>, [email protected] To: [email protected] Package: tcptrack Version: 1.4.0-1 Severity: important Tags: wheezy sid User: [email protected] Usertags: ftbfs-gcc-4.6 ftbfs-werror This package builds with -Werror, and GCC 4.6 triggers new warnings which will make the package fail to build. Currently a Debian patch just passes -Wno-error=unused-but-set-variable and -Wno-error=unused-but-set-parameter to avoid build failures, but this patch will be reverted with the GCC 4.6.1 release, and the severity of the report will be raised. The full build log can be found at: http://people.debian.org/~doko/tmp/werror/tcptrack_1.4.0-1_lsid64.buildlog The last lines of the build log are at the end of this report.
Description: Drop unused but set parameter "t" which causes FTBFS with GCC 4.6 Bug-Debian: http://bugs.debian.org/625416 Author: Chow Loong Jin <[email protected]> Index: tcptrack/src/TextUI.cc =================================================================== --- tcptrack.orig/src/TextUI.cc 2011-05-03 21:16:23.970761656 +0800 +++ tcptrack/src/TextUI.cc 2011-05-03 21:16:34.720890941 +0800 @@ -119,11 +119,6 @@ // main drawer thread loop void TextUI::displayer_run() { - // redraw the display this freqently... - struct timespec t; - t.tv_sec=0; - t.tv_nsec=DISPLAY_REFRESH; - // used for select(), to grab keyboard input when there is some. fd_set fdset; struct timeval tv;
signature.asc
Description: OpenPGP digital signature

