[asterisk-bugs] [Asterisk 0019279]: change BOOL to PBoolean

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 12 07:22:16 CDT 2011


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19279 
====================================================================== 
Reported By:                khratos
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19279
Category:                   Channels/chan_h323
Reproducibility:            N/A
Severity:                   tweak
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.8.4 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-05-11 23:22 CDT
Last Modified:              2011-05-12 07:22 CDT
====================================================================== 
Summary:                    change BOOL to PBoolean
Description: 
Hello,

As it was informed in the H323plus (former OpenH323) mailing list:
http://lists.packetizer.com/pipermail/h323plus/2007-November/000756.html

BOOL was changed to PBoolean, and their reasons were: "so that PBoolean
could be defined as the ANSI standard bool type and we get a whole pile of
beneficial compile time checks"

If we change BOOL references to PBoolean in 'channels/h323/ast_h323.cxx'
and 'channels/h323/ast_h323.h' then we can successfully use compile against
the latest versions of PTLib (former PWLib) and H323plus.

I've tested this change before in Asterisk 1.4, and now in Asterisk 1.8
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-12 07:22 lmadsen        Description Updated                          
2011-05-12 07:22 lmadsen        Additional Information Updated                  
 
======================================================================




More information about the asterisk-bugs mailing list