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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 13 00:00:24 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:                     acknowledged
Asterisk Version:           1.8.4 
JIRA:                       SWP-3459 
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-13 00:00 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
====================================================================== 

---------------------------------------------------------------------- 
 (0134875) irroot (reporter) - 2011-05-13 00:00
 https://issues.asterisk.org/view.php?id=19279#c134875 
---------------------------------------------------------------------- 
see https://issues.asterisk.org/view.php?id=16619 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-13 00:00 irroot         Note Added: 0134875                          
======================================================================




More information about the asterisk-bugs mailing list