[asterisk-bugs] [Asterisk 0010675]: Compile failure in lock.h

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Sep 8 18:18:42 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10675 
====================================================================== 
Reported By:                darren1713
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   10675
Category:                   General
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             09-08-2007 13:57 CDT
Last Modified:              09-08-2007 18:18 CDT
====================================================================== 
Summary:                    Compile failure in lock.h
Description: 
Attached is a patch for the compile error below. The inline definitions
cannot be inside a macro function. I'm surprised this made it into trunk.
====================================================================== 

---------------------------------------------------------------------- 
 mvanbaak - 09-08-07 18:18  
---------------------------------------------------------------------- 
for the record: everything compiles and works fine on Linux X86_64:

~/dev/personal/asterisk/asterisk-trunk% uname -a
Linux pandemona 2.6.21-2-amd64 http://bugs.digium.com/view.php?id=1 SMP Tue Jul
10 21:39:38 UTC 2007 x86_64
GNU/Linux
~/dev/personal/asterisk/asterisk-trunk% gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)
~/dev/personal/asterisk/asterisk-trunk% 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-08-07 18:18  mvanbaak       Note Added: 0070195                          
======================================================================




More information about the asterisk-bugs mailing list