[asterisk-bugs] [Asterisk 0015184]: [patch] trunk no longer compiles in dev-mode

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 22 11:51:23 CDT 2009


The following issue has been ASSIGNED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15184 
====================================================================== 
Reported By:                andrew
Assigned To:                seanbright
====================================================================== 
Project:                    Asterisk
Issue ID:                   15184
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 196072 
Request Review:              
====================================================================== 
Date Submitted:             2009-05-22 10:16 CDT
Last Modified:              2009-05-22 11:51 CDT
====================================================================== 
Summary:                    [patch] trunk no longer compiles in dev-mode
Description: 

   [CC] res_agi.c -> res_agi.o
cc1: warnings being treated as errors
res_agi.c: In function 'write_htmldump':
res_agi.c:3204: warning: assignment discards qualifiers from pointer
target type
make[1]: *** [res_agi.o] Error 1
make: *** [res] Error 2

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

---------------------------------------------------------------------- 
 (0105314) svnbot (reporter) - 2009-05-22 11:51
 https://issues.asterisk.org/view.php?id=15184#c105314 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 196270

U   trunk/res/res_agi.c

------------------------------------------------------------------------
r196270 | seanbright | 2009-05-22 11:51:23 -0500 (Fri, 22 May 2009) | 9
lines

Fix res_agi compilation after the const-ify the world merge.

Since we are dealing with a 'const char * const' now, we have to create a
temporary copy of the string to work on rather than the original.  Fix
inspired
by reporter.  Reviewed by everyone-and-their-mother in #asterisk-dev.

(closes issue https://issues.asterisk.org/view.php?id=15184)
Reported by: andrew

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=196270 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-22 11:51 svnbot         Checkin                                      
2009-05-22 11:51 svnbot         Note Added: 0105314                          
2009-05-22 11:51 svnbot         Status                   new => assigned     
2009-05-22 11:51 svnbot         Assigned To               => seanbright      
======================================================================




More information about the asterisk-bugs mailing list