[Home]

Summary:ASTERISK-02669: Asterisk Makefile -DDEBUG_THREADS generating vast number of warnings.
Reporter:jacs (jacs)Labels:
Date Opened:2004-10-24 03:33:31Date Closed:2004-10-24 20:50:00
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The following patch was added to the top level makefile a few days ago switching on DEBUG_THREADS by default. This generates vast numbers of warnings under FreeBSD. Any reason why this is now switched on by default as its for debugging only?

Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/Makefile,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -d -r1.115 -r1.116
--- Makefile    3 Oct 2004 13:07:59 -0000       1.115
+++ Makefile    20 Oct 2004 12:47:03 -0000      1.116
@@ -76,7 +76,7 @@
#OPTIONS += -DLOW_MEMORY

# Optional debugging parameters
-DEBUG_THREADS = #-DDEBUG_THREADS #-DDO_CRASH
+DEBUG_THREADS = -DDEBUG_THREADS #-DDO_CRASH

# Uncomment next one to enable ast_frame tracing (for debugging)
TRACE_FRAMES = #-DTRACE_FRAMES
Comments:By: Mark Spencer (markster) 2004-10-24 09:14:56

This was not supposed to be on by default and is now fixed in CVS