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

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


The following issue has been CLOSED 
====================================================================== 
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:                     closed
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:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-05-11 23:22 CDT
Last Modified:              2011-05-16 14:24 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....
====================================================================== 

---------------------------------------------------------------------- 
 (0134988) lmadsen (administrator) - 2011-05-16 14:24
 https://issues.asterisk.org/view.php?id=19279#c134988 
---------------------------------------------------------------------- 
Closed per the note by me on https://issues.asterisk.org/view.php?id=16619 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-16 14:24 lmadsen        Note Added: 0134988                          
2011-05-16 14:24 lmadsen        Status                   acknowledged => closed
======================================================================




More information about the asterisk-bugs mailing list