From: bugtrack@alsa-project.org Subject: [ALSA - lib 0001126]: alsa-lib 1.0.9rc4 does not compile with debugging off (--with-debug=no) Date: Tue, 9 Aug 2005 13:44:26 +0200 Message-ID: <8af62b497efa161bc2140553518e9d3c@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 22A391C9 for ; Tue, 9 Aug 2005 13:44:26 +0200 (MEST) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org The following issue has been CLOSED ====================================================================== ====================================================================== Reported By: amir Assigned To: tiwai ====================================================================== Project: ALSA - lib Issue ID: 1126 Category: 0_general Reproducibility: always Severity: block Priority: normal Status: closed Resolution: fixed Fixed in Version: ====================================================================== Date Submitted: 05-25-2005 21:43 CEST Last Modified: 08-09-2005 13:44 CEST ====================================================================== Summary: alsa-lib 1.0.9rc4 does not compile with debugging off (--with-debug=no) Description: alsa-lib 1.0.9rc4 does not compile with debugging turned off using configure flag --with-debug=no which causes #define NDEBUG in config.h recent code in src/pcm/pcm_params.c added dump_hw_params() to print debugging but the function exists only ifndef NDEBUG my patch causes the function to be empty (optimized out) when NDEBUG is defined. ====================================================================== ---------------------------------------------------------------------- tiwai - 05-27-05 11:26 ---------------------------------------------------------------------- Thanks for reproting. I'd like to rather get rid of the debug dump function than enabling always... Fixed on CVS now. Issue History Date Modified Username Field Change ====================================================================== 05-25-05 21:43 amir New Issue 05-25-05 21:43 amir File Added: fix-dump_hw_params.diff 05-27-05 11:26 tiwai Status new => resolved 05-27-05 11:26 tiwai Resolution open => fixed 05-27-05 11:26 tiwai Assigned To => tiwai 05-27-05 11:26 tiwai Note Added: 0004744 08-09-05 13:44 perex Status resolved => closed ====================================================================== ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf