It looks more global :(
g++ -DP_USE_PRAGMA -D_REENTRANT -fno-exceptions -fPIC -DPIC -DPTRACING -I/home/frolov/OpenH323/openh323/include
-I/home/frolov/OpenH323/pwlib/include -Os -felide-constructors -Wreorder -c transports.cxx -o
/home/frolov/OpenH323/openh323/lib/obj_linux_x86_r/transports.o
transports.cxx: In member function `virtual BOOL H323TransportUDP::DiscoverGatekeeper(H323Gatekeeper&, H323RasPDU&,
const H323TransportAddress&)':
transports.cxx:2180: error: ambiguous overload for 'operator==' in 'destAddr == -1u'
transports.cxx:2180: note: candidates are: operator==(DWORD, unsigned int) <built-in>
/home/frolov/OpenH323/pwlib/include/ptlib/ipsock.h:407: note: bool PIPSocket::Address::operator==(const
PIPSocket::Address&) const
/home/frolov/OpenH323/pwlib/include/ptlib/ipsock.h:415: note: bool PIPSocket::Address::operator==(DWORD)
const
/home/frolov/OpenH323/pwlib/include/ptlib/ipsock.h:433: note: bool PIPSocket::Address::operator==(int) const
transports.cxx:2202: error: ambiguous overload for 'operator==' in 'destAddr == -1u'
transports.cxx:2202: note: candidates are: operator==(DWORD, unsigned int) <built-in>
/home/frolov/OpenH323/pwlib/include/ptlib/ipsock.h:407: note: bool PIPSocket::Address::operator==(const
PIPSocket::Address&) const
/home/frolov/OpenH323/pwlib/include/ptlib/ipsock.h:415: note: bool PIPSocket::Address::operator==(DWORD)
const
/home/frolov/OpenH323/pwlib/include/ptlib/ipsock.h:433: note: bool PIPSocket::Address::operator==(int) const
transports.cxx:2209: error: ambiguous overload for 'operator==' in 'destAddr == -1u'
transports.cxx:2209: note: candidates are: operator==(DWORD, unsigned int) <built-in>
/home/frolov/OpenH323/pwlib/include/ptlib/ipsock.h:407: note: bool PIPSocket::Address::operator==(const
PIPSocket::Address&) const
/home/frolov/OpenH323/pwlib/include/ptlib/ipsock.h:415: note: bool PIPSocket::Address::operator==(DWORD)
const
/home/frolov/OpenH323/pwlib/include/ptlib/ipsock.h:433: note: bool PIPSocket::Address::operator==(int) const
Craig Southeren wrote:
> Vyacheslav Frolov wrote:
>
>>g++ (GCC) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)
>>
>>g++ -DP_USE_PRAGMA -D_REENTRANT -fno-exceptions -fPIC -DPIC -I/home/frolov/OpenH323/pwlib/include -Os -DPTRACING=1
>>-felide-constructors -Wreorder -c ../../ptclib/ipacl.cxx -o /home/frolov/OpenH323/pwlib/lib/obj_linux_x86_r/ipacl.o
>>../../ptclib/ipacl.cxx: In member function `virtual void PIpAccessControlEntry::PrintOn(std::ostream&) const':
>>../../ptclib/ipacl.cxx:158: error: ambiguous overload for 'operator!=' in '((const
>>PIpAccessControlEntry*)this)->PIpAccessControlEntry::mask != -1u'
>>../../ptclib/ipacl.cxx:158: note: candidates are: operator!=(DWORD, unsigned int) <built-in>
>>/home/frolov/OpenH323/pwlib/include/ptlib/ipsock.h:408: note: bool PIPSocket::Address::operator!=(const
>>PIPSocket::Address&) const
>>/home/frolov/OpenH323/pwlib/include/ptlib/ipsock.h:416: note: bool PIPSocket::Address::operator!=(DWORD)
>>const
>>/home/frolov/OpenH323/pwlib/include/ptlib/ipsock.h:434: note: bool PIPSocket::Address::operator!=(int) const
>>
>>
>>
>>Possible fix:
>>
>>----------
>>Index: ipacl.cxx
>>===================================================================
>>RCS file: /cvsroot/openh323/pwlib/src/ptclib/ipacl.cxx,v
>>diff -u -r1.16 ipacl.cxx
>>--- ipacl.cxx 26 Jan 2005 05:37:58 -0000 1.16
>>+++ ipacl.cxx 24 Apr 2007 07:06:15 -0000
>>@@ -155,7 +155,7 @@
>> return;
>> }
>>
>>- if (mask != 0 && mask != 0xffffffff)
>>+ if (mask != 0 && mask != (DWORD)0xffffffff)
>> strm << '/' << mask;
>> }
>>----------
>
>
> The fix looks fine to me, but I'm wondering why this has occurred now.
> What code has changed to make this error occur after all these years?
>
> Craig
>
> -----------------------------------------------------------------------
> Craig Southeren Post Increment – VoIP Consulting and Software
> craigs@xxxxxxxxxxxxxxxxxxxx www.postincrement.com.au
>
> Phone: +61 243654666 ICQ: #86852844
> Fax: +61 243656905 MSN: craig_southeren@xxxxxxxxxxx
> Mobile: +61 417231046 Jabber: craigs@xxxxxxxxxx
>
> "It takes a man to suffer ignorance and smile.
> Be yourself, no matter what they say." Sting
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Openh323-devel mailing list
> Openh323-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/openh323-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Openh323-devel mailing list
Openh323-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openh323-devel
[Open H.323]
[IETF SIP]
[Gnu Gatekeeper]
[Asterisk PBX]
[Fedora Linux]
[Gimp]
[Yosemite News]
[Yosemite Photos]
[Yosemite Campsites]
[ISDN Cause Codes]