[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:53 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
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:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 196072 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
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

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

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

_U  branches/1.6.2/

------------------------------------------------------------------------
r196271 | seanbright | 2009-05-22 11:51:53 -0500 (Fri, 22 May 2009) | 15
lines

Blocked revisions 196270 via svnmerge

........
  r196270 | seanbright | 2009-05-22 12:51:22 -0400 (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=196271 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-22 11:51 svnbot         Checkin                                      
2009-05-22 11:51 svnbot         Note Added: 0105315                          
======================================================================




More information about the asterisk-bugs mailing list