[ardour-dev] [kraai at ftbfs.org: Bug#237572: FTBFS: void value not ignored]

Robert Joerdens rjo-lists at gmx.de
Fri Mar 12 01:06:02 PST 2004


----- Forwarded message from Matt Kraai <kraai at ftbfs.org> -----

From: Matt Kraai <kraai at ftbfs.org>
Subject: Bug#237572: FTBFS: void value not ignored
To: submit at bugs.debian.org
Date: Thu, 11 Mar 2004 10:57:48 -0800
X-Original-To: robertjo at phys.ethz.ch
Reply-To: Matt Kraai <kraai at ftbfs.org>, 237572 at bugs.debian.org
Original-Sender: Matt Kraai <kraai at lafn.org>
Resent-To: debian-bugs-dist at lists.debian.org
X-Debian-PR-Message: report 237572
X-Debian-PR-Package: ardour
X-Virus-Scanned: ClamAV version 'clamd / ClamAV version devel-20040209', clamav-milter version '0.66m'
X-GMX-Antispam: 0 (Mail was not recognized as spam)
X-Resent-By: Forwarder <forwarder at gmx.de>
X-Resent-For: rjo at gmx.de
X-Resent-To: robertjo at stud.phys.ethz.ch
X-Virus-Scanned: by amavisd 0.1
X-Spam-Status: No, hits=-9.1 required=4.0
	tests=AWL,BAYES_10,DEBIAN_BTS_BUG,USER_AGENT_MUTT,X_LOOP
	autolearn=ham version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

Package: ardour
Version: 0.9beta11.2-1
Severity: serious

pbuilder fails to build ardour:

 ...
 g++ -DHAVE_CONFIG_H -I. -I. -I. -g -D_REENTRANT -Wall -I/tmp/buildd/ardour-0.9beta11.2/build-tree/ardour-0.9beta11.2/libs/pbd -I/tmp/buildd/ardour-0.9beta11.2/build-tree/ardour-0.9beta11.2/libs/midi++ -I/tmp/buildd/ardour-0.9beta11.2/build-tree/ardour-0.9beta11.2/libs/soundtouch -I/tmp/buildd/ardour-0.9beta11.2/build-tree/ardour-0.9beta11.2/libs/ardour -I/tmp/buildd/ardour-0.9beta11.2/build-tree/ardour-0.9beta11.2/libs/gtkmmext -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0 -I/usr/include/libxml2 -MT AAFilter.lo -MD -MP -MF .deps/AAFilter.Tpo -c AAFilter.cc  -fPIC -DPIC -o .libs/AAFilter.o
 AAFilter.cc: In member function `virtual void AAFilter::calculateCoeffs()':
 AAFilter.cc:89: error: void value not ignored as it ought to be
 AAFilter.cc:90: error: void value not ignored as it ought to be
 AAFilter.cc:91: error: void value not ignored as it ought to be
 AAFilter.cc:92: error: void value not ignored as it ought to be
 AAFilter.cc:120: error: void value not ignored as it ought to be
 AAFilter.cc:123: error: void value not ignored as it ought to be
 AAFilter.cc:124: error: void value not ignored as it ought to be
 AAFilter.cc:125: error: void value not ignored as it ought to be
 AAFilter.cc:136: error: void value not ignored as it ought to be
 make[5]: *** [AAFilter.lo] Error 1
 ...

These errors are caused by the following line from STTypes.h:

 #define st_assert(expr) ((expr) ? (void) 0 : throw soundtouch_exception())

It can be fixed by removing the void cast.

-- 
Matt Kraai            kraai at ftbfs.org            http://ftbfs.org/

----- End forwarded message -----

-- 



More information about the Ardour-Dev mailing list