: alsa-lib 1.0.9rc4 does not compile with debugging off (--with-debug=no)
The following issue has been CLOSED
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1126>
======================================================================
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