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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 16 14:23:50 CDT 2011


The issue 0016619 has been set as DUPLICATE OF the following 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-16 14:23 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
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0016619 [patch] Complile issue with h323plus 1....
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-16 14:23 lmadsen        Relationship added       has duplicate 0016619
======================================================================




More information about the asterisk-bugs mailing list