[asterisk-bugs] [Asterisk 0011401]: Variable identifier not compatible with C++

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Nov 28 13:37:53 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11401 
====================================================================== 
Reported By:                chewbacca
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11401
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.14  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-28-2007 12:13 CST
Last Modified:              11-28-2007 13:37 CST
====================================================================== 
Summary:                    Variable identifier not compatible with C++
Description: 
Asterisk 1.4.14, include/asterisk/file.h, line 135

void *private;	/* pointer to private buffer */

this mess up all c++ projects that includes file.h
====================================================================== 

---------------------------------------------------------------------- 
 qwell - 11-28-07 13:37  
---------------------------------------------------------------------- 
Is the problem than "private" is a reserved word in C++?

You weren't clear on how it is not compatible. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-28-07 13:37  qwell          Note Added: 0074507                          
======================================================================




More information about the asterisk-bugs mailing list