Re: Compiling Errors in latest CVS of v2.2b4 again today

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just downloaded the latest CVS for v2.2b4 and managed to compile it on VC6++
by replacing the 'new' in lines 224 and 226 of Toolbox.cxx with '::new'.

The following alternatives yielded errors below:-
If just after #include <map>,
 #include <new>
is included in Toolkit.cxx then also the same previously stated error occurs
as below:-

Toolkit.cxx
C:\openh323\openh323gk\Toolkit.cxx(224) : error C2661: 'new' : no overloaded
function takes 2 parameters
C:\openh323\openh323gk\Toolkit.cxx(226) : error C2661: 'new' : no overloaded
function takes 2 parameters

If just 'std::new' replaces 'new' in lines 224 and 226 of Toolkit.cxx, then
the error gets modified to:-

Toolkit.cxx
C:\openh323\openh323gk\Toolkit.cxx(224) : error C2834: 'operator new' must
be globally qualified
C:\openh323\openh323gk\Toolkit.cxx(226) : error C2834: 'operator new' must
be globally qualified

When '::new' replaces 'new' in lines 224 and 226 of Toolkit.cxx, then no
error occurs.
The resulting exe executes well.

When it is shut down, it causes a 018f:... error and then exits normally.
This error has been there on Win98 SE for quite some time though for the
v2.2beta version.

I do not know if the resultant exe file is safe to use ;) ZM ??

Ap.Muthu


From: "Zygmuntowicz Michal" <m.zygmuntowicz@xxxxxxx>
Subject: Re: 
Date: Wed, 10 Mar 2004 22:36:05 +0100

Maybe try to add
    #include <new>
and see if it fixes the problem.

or preceede new operators with ::, like
    ::new(...) PString(..)
?



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux