[asterisk-bugs] [Asterisk 0012932]: [patch] Union rather than cast for outbuf (translate.h)
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Nov 4 15:21:01 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12932
======================================================================
Reported By: snuffy
Assigned To: kpfleming
======================================================================
Project: Asterisk
Issue ID: 12932
Category: Core/Portability
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 124869
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-06-26 10:28 CDT
Last Modified: 2008-11-04 15:20 CST
======================================================================
Summary: [patch] Union rather than cast for outbuf
(translate.h)
Description:
This is part of the things i tried to achieve under solaris to fix
alginment issues. ( issue http://bugs.digium.com/view.php?id=11485 )
This has only had very basic tests done.. alaw/ulaw to gsm etc.
Playback seemed fine.
Probably want to rename some of the unions var names but its a start
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0011485 Alignment issues building on solaris sparc
======================================================================
----------------------------------------------------------------------
(0094566) snuffy (manager) - 2008-11-04 15:20
http://bugs.digium.com/view.php?id=12932#c94566
----------------------------------------------------------------------
Ok i've uploaded the gmake -k results..
Note: I got the below error, but fixed it myself by adding a ifndef for
_FILE_OFFSET_BITS in the autoconfig.h file.
In file included from /home/support/algin-ast/include/asterisk.h:21,
from ast_expr2.fl:25:
/home/support/algin-ast/include/asterisk/autoconfig.h:633:1:
"_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/stdarg_c99.h:34,
from /usr/include/stdarg.h:33,
from
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/include/stdio
.h:14,
from ast_expr2f.c:20:
/usr/include/sys/feature_tests.h:188:1: this is the location of the
previous def inition
Issue History
Date Modified Username Field Change
======================================================================
2008-11-04 15:21 snuffy Note Added: 0094566
======================================================================
More information about the asterisk-bugs
mailing list