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

Bug#258467: marked as done (avview: FTBFS with gcc-3.4: label at end of compound statement)



Your message dated Sat, 10 Jul 2004 08:32:06 -0400
with message-id <E1BjH1S-0003tn-00@newraff.debian.org>
and subject line Bug#258467: fixed in avview 1:0.12.0-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Jul 2004 20:11:16 +0000
>From aj@andaco.de Fri Jul 09 13:11:16 2004
Return-path: <aj@andaco.de>
Received: from d001252.adsl.hansenet.de (localhost) [80.171.1.252] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bj1iF-000385-00; Fri, 09 Jul 2004 13:11:16 -0700
Received: from aj by localhost with local (Exim 4.34)
	id 1Bj1iE-0005fg-Np; Fri, 09 Jul 2004 22:11:14 +0200
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: avview: FTBFS with gcc-3.4: label at end of compound statement
Message-Id: <E1Bj1iE-0005fg-Np@localhost>
Date: Fri, 09 Jul 2004 22:11:14 +0200
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: avview
Severity: normal
Tags: patch

When building 'avview' with gcc-3.4 I get the following error:

main.c: In function `get_value':
main.c:60: warning: implicit declaration of function `strcmp'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/tcl8.4/tcl-private/generic -I/usr/include/tcl8.4/tk-private/generic   -Wall -O2 -DAVVIEW_VERSION=\"0.12.0\"  -g -O2 -MT avview_shell-vbi.o -MD -MP -MF ".deps/avview_shell-vbi.Tpo" \
  -c -o avview_shell-vbi.o `test -f 'vbi.c' || echo './'`vbi.c; \
then mv ".deps/avview_shell-vbi.Tpo" ".deps/avview_shell-vbi.Po"; \
else rm -f ".deps/avview_shell-vbi.Tpo"; exit 1; \
fi
vbi.c: In function `vbi_pipe_handler':
vbi.c:102: error: label at end of compound statement
vbi.c:105: error: label at end of compound statement
vbi.c: In function `vbi_loop':
vbi.c:116: warning: unused variable `i'
vbi.c:117: warning: unused variable `d'
vbi.c: In function `vbi_open_device':
vbi.c:271: warning: passing arg 3 of `pthread_create' from incompatible pointer type
make[2]: *** [avview_shell-vbi.o] Error 1
make[2]: Leaving directory `/avview-0.12.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/avview-0.12.0'
make: *** [build-stamp] Error 2

With the attached patch 'avview' can be compiled using gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/avview-0.12.0/vbi.c ./vbi.c
--- ../tmp-orig/avview-0.12.0/vbi.c	2003-05-21 01:01:45.000000000 +0200
+++ ./vbi.c	2004-07-08 20:21:09.990653459 +0200
@@ -98,10 +98,8 @@
 				Tcl_VarEval(data->interp, data->event_command, " aspect {}", NULL);
 				break;
 			
-			default:
 			}
 		break;
-	default:
 	}
 }
 

---------------------------------------
Received: (at 258467-close) by bugs.debian.org; 10 Jul 2004 12:38:18 +0000
>From katie@ftp-master.debian.org Sat Jul 10 05:38:18 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BjH7S-0005ym-00; Sat, 10 Jul 2004 05:38:18 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BjH1S-0003tn-00; Sat, 10 Jul 2004 08:32:06 -0400
From: Colin Watson <cjwatson@debian.org>
To: 258467-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#258467: fixed in avview 1:0.12.0-3
Message-Id: <E1BjH1S-0003tn-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 10 Jul 2004 08:32:06 -0400
Delivered-To: 258467-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Source: avview
Source-Version: 1:0.12.0-3

We believe that the bug you reported is fixed in the latest version of
avview, which is due to be installed in the Debian FTP archive:

avview_0.12.0-3.diff.gz
  to pool/main/a/avview/avview_0.12.0-3.diff.gz
avview_0.12.0-3.dsc
  to pool/main/a/avview/avview_0.12.0-3.dsc
avview_0.12.0-3_powerpc.deb
  to pool/main/a/avview/avview_0.12.0-3_powerpc.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 258467@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated avview package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 10 Jul 2004 13:19:53 +0100
Source: avview
Binary: avview
Architecture: source powerpc
Version: 1:0.12.0-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description: 
 avview     - TV viewing and capture software for ATI video cards
Closes: 258467
Changes: 
 avview (1:0.12.0-3) unstable; urgency=low
 .
   * QA upload.
   * Remove useless labels at end of switch statements, which break gcc 3.4
     (closes: #258467).
Files: 
 ec600ca101014d8eedb2da48019087b8 709 graphics optional avview_0.12.0-3.dsc
 07e9dd539684620fe62cd05717a4c9ef 3010 graphics optional avview_0.12.0-3.diff.gz
 c24b3bf4468cd6d59adcffd21d6f2eda 75744 graphics optional avview_0.12.0-3_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer

iD8DBQFA799b9t0zAhD6TNERAhdXAJ4+KB8jgt/3Rb7lkMA1Xvxnd5dqWgCfWoBx
SA07ysXvInjC3/1PuucvwsY=
=wP81
-----END PGP SIGNATURE-----



Reply to: