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

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Sep 8 20:11:14 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 20:11 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.
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 09-08-07 20:11  
---------------------------------------------------------------------- 
A little research reveals that the ability to do directives inside macro
definitions was introduced in gcc 3.2, which was a version released over 5
years ago.  So you're either not using gcc (which we don't support) or
you're using a version which is well over 5 years old. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-08-07 20:11  Corydon76      Note Added: 0070198                          
======================================================================




More information about the asterisk-bugs mailing list