[asterisk-bugs] [Asterisk 0014790]: chan_h323 build fails with gcc 3
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Apr 22 16:17:30 CDT 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14790
======================================================================
Reported By: stuarth
Assigned To: jpeeler
======================================================================
Project: Asterisk
Issue ID: 14790
Category: Core/Portability
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Asterisk Version: 1.6.1.0-rc3
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-03-30 20:38 CDT
Last Modified: 2009-04-22 16:17 CDT
======================================================================
Summary: chan_h323 build fails with gcc 3
Description:
g++ from gcc 3.3.5 (and probably others) doesn't allow a structure member
to have the same name as an included header, in this case "list" in
channel.h:1745. same problem as ticket 6446, this time with
"AST_LIST_ENTRY(ast_group_info) list" in struct ast_group_info.
======================================================================
----------------------------------------------------------------------
(0103656) svnbot (reporter) - 2009-04-22 16:17
http://bugs.digium.com/view.php?id=14790#c103656
----------------------------------------------------------------------
Repository: asterisk
Revision: 190059
_U branches/1.6.0/
U branches/1.6.0/funcs/func_groupcount.c
U branches/1.6.0/include/asterisk/channel.h
U branches/1.6.0/main/app.c
U branches/1.6.0/main/cli.c
------------------------------------------------------------------------
r190059 | jpeeler | 2009-04-22 16:17:29 -0500 (Wed, 22 Apr 2009) | 16
lines
Merged revisions 190057 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r190057 | jpeeler | 2009-04-22 16:15:55 -0500 (Wed, 22 Apr 2009) | 9
lines
Fix building of chan_h323 with gcc-3.3
There seems to be a bug with old versions of g++ that doesn't allow a
structure
member to use the name list. Rename list member to group_list in
ast_group_info
and change the few places it is used.
(closes issue http://bugs.digium.com/view.php?id=14790)
Reported by: stuarth
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=190059
Issue History
Date Modified Username Field Change
======================================================================
2009-04-22 16:17 svnbot Checkin
2009-04-22 16:17 svnbot Note Added: 0103656
======================================================================
More information about the asterisk-bugs
mailing list