Skip to contentSkip to conversation

: alsa-lib 1.0.9rc4 does not compile with debugging off (--with-debug=no)

ALSA - lib 0001126 [email protected] 1 participant 1 message May 25, 2005

lore
Share & tools
lore
#0 lore raw

The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1126>
======================================================================
Reported By: amir
Assigned To:
======================================================================

Project:                    ALSA - lib
Issue ID:                   1126
Category:                   general
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             05-25-2005 21:43 CEST
Last Modified:              05-25-2005 21:43 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.

======================================================================

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

======================================================================

-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click