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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 11 23:30:59 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
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:                     new
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-11 23:30 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
====================================================================== 

---------------------------------------------------------------------- 
 (0134815) khratos (reporter) - 2011-05-11 23:30
 https://issues.asterisk.org/view.php?id=19279#c134815 
---------------------------------------------------------------------- 
patch -p0 < chan_h323.patch 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-11 23:30 khratos        Note Added: 0134815                          
======================================================================




More information about the asterisk-bugs mailing list