f



[ace-bugs] Re: [ace-users] How to use c++ native exception handling instead of ACE's while building ACE+TAO

Hi,

To ensure that we have proper version/platform/compiler information,
please make sure you fill out the appropriate problem report form
(PRF), which is in

$ACE_ROOT/PROBLEM-REPORT-FORM
$TAO_ROOT/PROBLEM-REPORT-FORM

or in

$ACE_ROOT/BUG-REPORT-FORM
$TAO_ROOT/BUG-REPORT-FORM

in older versions of ACE+TAO.  Make sure to include this information
when asking any questions about ACE+TAO since otherwise we have to
"guess" what version/platform/compiler/options you've using, which is
error-prone and slows down our responsiveness.
 

> I know we can set exceptions = 1 or 0 in platform_macros.GNU
> to use ACE's exception handling or C++'s native exception handling.
>
> But I am still not clear on which value should I set exceptions to if
> I want to use only the C++'s native exception handling support.

Then just set it to 1 which is the default.

Regards,

Johnny Willemsen
Remedy IT
Postbus 101
2650 AC  Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl  

0
Johnny
3/20/2006 8:42:25 AM
comp.soft-sys.ace 20326 articles. 1 followers. marlow.andrew (167) is leader. Post Follow

4 Replies
1090 Views

Similar Articles

[PageSpeed] 2

------=_Part_4854_4331443.1142846841468
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

ACE VERSION: 5.5

    HOST MACHINE and OPERATING SYSTEM:      *Sparc, Solaris 10
*        If on Windows based OS's, which version of WINSOCK do you
        use?:

    TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
    COMPILER NAME AND VERSION (AND PATCHLEVEL):

    THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
    specific file, simply state which one]:

                 *#include "ace/config-sunos5.10.h"*





    THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
    use a link to a platform-specific file, simply state which one
    (unless this isn't used in this case, e.g., with Microsoft Visual
    C++)]:

                * include
$(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU*



    CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
    (used by MPC when you generate your own makefiles):

                * No such file.*

    AREA/CLASS/EXAMPLE AFFECTED:
[What example failed?  What module failed to compile?]

                  *SSL module*

    DOES THE PROBLEM AFFECT:
        COMPILATION?
        LINKING?
            On Unix systems, did you run make realclean first?
        EXECUTION?
        OTHER (please specify)?
[Please indicate whether ACE, your application, or both are affected.]

                   *ACE*

    SYNOPSIS:
[Brief description of the problem]

    DESCRIPTION:
[Detailed description of problem.  Don't just say "<blah>
doesn't work, here's a fix," explain what your program does
to get to the <blah> state. ]

         Why the -Ge flag is 1 in all the GNUmakefile.* (e.g.
GNUmakefile.CosNaming) in the directory: $TAO_ROOT/orbsvcs/orbsvcs. In fact=
,
I have set exceptions =3D 1, which means I do want to use C++'s native
exception handling instead of ACE's exception hanlding. However, when the
-Ge flag is 1, the generated orb services header files maybe use ACE's
exception handling? I wonder they may conflict. That is, the orb services
header files will conflict with the stub header files generated
from user's IDL files, where ones use ACE's exception handling while others
use C++'s native exception handling.



    REPEAT BY:
[What you did to get the error; include test program or session
transcript if at all possible.  ]

    SAMPLE FIX/WORKAROUND:


2006/3/20, Johnny Willemsen <jwillemsen@remedy.nl>:
>
> Hi,
>
> To ensure that we have proper version/platform/compiler information,
> please make sure you fill out the appropriate problem report form
> (PRF), which is in
>
> $ACE_ROOT/PROBLEM-REPORT-FORM
> $TAO_ROOT/PROBLEM-REPORT-FORM
>
> or in
>
> $ACE_ROOT/BUG-REPORT-FORM
> $TAO_ROOT/BUG-REPORT-FORM
>
> in older versions of ACE+TAO.  Make sure to include this information
> when asking any questions about ACE+TAO since otherwise we have to
> "guess" what version/platform/compiler/options you've using, which is
> error-prone and slows down our responsiveness.
>
>
> > I know we can set exceptions =3D 1 or 0 in platform_macros.GNU
> > to use ACE's exception handling or C++'s native exception handling.
> >
> > But I am still not clear on which value should I set exceptions to if
> > I want to use only the C++'s native exception handling support.
>
> Then just set it to 1 which is the default.
>
> Regards,
>
> Johnny Willemsen
> Remedy IT
> Postbus 101
> 2650 AC  Berkel en Rodenrijs
> The Netherlands
> www.theaceorb.nl / www.remedy.nl
>
>


--
Best regards,

MyCORBA

------=_Part_4854_4331443.1142846841468
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<div>
<p>ACE VERSION: 5.5</p>
<p>&nbsp;&nbsp;&nbsp; HOST MACHINE and OPERATING SYSTEM:&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; <u><em><strong>Sparc, Solaris 10</strong><br></em></u>&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If on Windows based OS's, which version o=
f WINSOCK do you<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; use?:</p>
<p>&nbsp;&nbsp;&nbsp; TARGET MACHINE and OPERATING SYSTEM, if different fro=
m HOST:<br>&nbsp;&nbsp;&nbsp; COMPILER NAME AND VERSION (AND PATCHLEVEL): <=
/p>
<p>&nbsp;&nbsp;&nbsp; THE $ACE_ROOT/ace/config.h FILE [if you use a link to=
 a platform-<br>&nbsp;&nbsp;&nbsp; specific file, simply state which one]: =
</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; <strong><u><em>#include &quot;ace/config-sunos5.10=
..h&quot;</em></u></strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp; THE $ACE_ROOT/include/makeinclude/platform_macros.GNU=
 FILE [if you<br>&nbsp;&nbsp;&nbsp; use a link to a platform-specific file,=
 simply state which one<br>&nbsp;&nbsp;&nbsp; (unless this isn't used in th=
is case, e.g., with Microsoft Visual<br>
&nbsp;&nbsp;&nbsp; C++)]: </p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;<em><strong><u> include $(ACE_ROOT)/include/makeinc=
lude/platform_sunos5_sunc++.GNU</u></strong></em></p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp; CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/d=
efault.features<br>&nbsp;&nbsp;&nbsp; (used by MPC when you generate your o=
wn makefiles):</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;<u><em><strong>&nbsp;No such file.</strong></em></u=
></p>
<p>&nbsp;&nbsp;&nbsp; AREA/CLASS/EXAMPLE AFFECTED:<br>[What example failed?=
&nbsp; What module failed to compile?]</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u><em><strong>SSL module</strong></em>=
</u></p>
<p>&nbsp;&nbsp;&nbsp; DOES THE PROBLEM AFFECT:<br>&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; COMPILATION?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
; LINKING?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; On Unix systems, did you run make realclean first?<br>&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; EXECUTION?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; OTHER (please specify)?<br>[Please indicate whether ACE, your app=
lication, or both are affected.]=20
</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong><em><u>ACE</u></em></strong></=
p>
<p>&nbsp;&nbsp;&nbsp; SYNOPSIS:<br>[Brief description of the problem]</p>
<p>&nbsp;&nbsp;&nbsp; DESCRIPTION:<br>[Detailed description of problem.&nbs=
p; Don't just say &quot;&lt;blah&gt;<br>doesn't work, here's a fix,&quot; e=
xplain what your program does<br>to get to the &lt;blah&gt; state. ]</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Why the -Ge flag i=
s 1 in all the GNUmakefile.* (e.g. GNUmakefile.CosNaming) in the directory:=
 $TAO_ROOT/orbsvcs/orbsvcs. In fact, I have set exceptions =3D 1, which mea=
ns I do&nbsp;want to use C++'s native exception handling instead of&nbsp;AC=
E's exception hanlding. However, when the -Ge flag is 1, the&nbsp;generated=
 orb services header files maybe use ACE's exception handling? I wonder the=
y may conflict. That is, the orb services header files will conflict with t=
he stub header files&nbsp;generated from&nbsp;user's&nbsp;IDL files, where =
ones use ACE's exception handling while others use C++'s native exception h=
andling.
</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp; REPEAT BY:<br>[What you did to get the error; include=
 test program or session<br>transcript if at all possible.&nbsp; ]</p>
<p>&nbsp;&nbsp;&nbsp; SAMPLE FIX/WORKAROUND:<br></p></div><br><br>
<div><span class=3D"gmail_quote">2006/3/20, Johnny Willemsen &lt;<a href=3D=
"mailto:jwillemsen@remedy.nl">jwillemsen@remedy.nl</a>&gt;:</span>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>To ensure that we hav=
e proper version/platform/compiler information,<br>please make sure you fil=
l out the appropriate problem report form
<br>(PRF), which is in<br><br>$ACE_ROOT/PROBLEM-REPORT-FORM<br>$TAO_ROOT/PR=
OBLEM-REPORT-FORM<br><br>or in<br><br>$ACE_ROOT/BUG-REPORT-FORM<br>$TAO_ROO=
T/BUG-REPORT-FORM<br><br>in older versions of ACE+TAO.&nbsp;&nbsp;Make sure=
 to include this information
<br>when asking any questions about ACE+TAO since otherwise we have to<br>&=
quot;guess&quot; what version/platform/compiler/options you've using, which=
 is<br>error-prone and slows down our responsiveness.<br><br><br>&gt; I kno=
w we can set exceptions =3D 1 or 0 in platform_macros.GNU
<br>&gt; to use ACE's exception handling or C++'s native exception handling=
..<br>&gt;<br>&gt; But I am still not clear on which value should I set exce=
ptions to if<br>&gt; I want to use only the C++'s native exception handling=
 support.
<br><br>Then just set it to 1 which is the default.<br><br>Regards,<br><br>=
Johnny Willemsen<br>Remedy IT<br>Postbus 101<br>2650 AC&nbsp;&nbsp;Berkel e=
n Rodenrijs<br>The Netherlands<br><a href=3D"http://www.theaceorb.nl">www.t=
heaceorb.nl
</a> / <a href=3D"http://www.remedy.nl">www.remedy.nl</a><br><br></blockquo=
te></div><br><br clear=3D"all"><br>-- <br>Best regards,<br><br>MyCORBA=20

------=_Part_4854_4331443.1142846841468--

0
Ji
3/20/2006 9:33:10 AM
Hi,

        Thanks for using the PRF.

>> ACE VERSION: 5.5

>>          Why the -Ge flag is 1 in all the GNUmakefile.* (e.g.
>> GNUmakefile.CosNaming) in the directory:
>> $TAO_ROOT/orbsvcs/orbsvcs. In fact= , I have set exceptions =3D 1,
>> which means I do want to use C++'s native exception handling
>> instead of ACE's exception hanlding. However, when the -Ge flag is
>> 1, the generated orb services header files maybe use ACE's
>> exception handling? I wonder they may conflict. That is, the orb
>> services header files will conflict with the stub header files
>> generated from user's IDL files, where ones use ACE's exception
>> handling while others use C++'s native exception handling.

This sounds like a bug.  Jeff, can you please take a look at this and
see what's going on?  

Thanks,

        Doug
-- 
Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Institute for Software Integrated Systems    WEB: www.dre.vanderbilt.edu/~schmidt
Vanderbilt University, Nashville TN, 37203   NET: d.schmidt@vanderbilt.edu

0
Douglas
3/20/2006 1:16:31 PM
    ACE VERSION: 5.5
    HOST MACHINE and OPERATING SYSTEM:    Win XP, sp2

    COMPILER NAME AND VERSION:     MSVC++ 2005[12.00.8804]

    CONTENTS OF $ACE_ROOT/ace/config.h
#if !defined (_WIN32_WCE)
#    define ACE_ENABLE_SWAP_ON_WRITE
//#    define ACE_DISABLE_SWAP_ON_READ
#    define ACE_DISABLE_WIN32_ERROR_WINDOWS
#    define ACE_HAS_STANDARD_CPP_LIBRARY 1
#endif
#include "ace/config-win32.h"


    AREA/CLASS/EXAMPLE AFFECTED:
[What example failed?  What module failed to compile?]

    DOES THE PROBLEM AFFECT:
        EXECUTION?   Yes

    SYNOPSIS:
Problem with parameters to dynamic services. using old style config file

    DESCRIPTION:
    I have parameters like:
       "-I x -d  --longA "..." "

I thought I had this part working, I may have been mistaken though.
The parsing of the parameters gets cut off.
It seams like it no longer balances/matches the double-quotes.
I'm trying to pass long parameters to a dynamic service.
If so, how do I pass longer parameters like this:
dynamic SQLHANDLER Service_Object *
../SQL_HandlerD.dll:_make_SQL_Handler() "-I SQLHANDLER -R AIXD -d
COMM_TEST_SQL --qi SI_SNA_InBound -a CentralModel -u ProcSNACOMTRNTEST
--qo SO_SNA_OutBound --qw "SO_Status = 'NEW' AND SO_PROTOCOL = 'SNA' AND
SO_Source_Mnemonic = 'AIXF' " "

Any insight or comments are welcome.
   Thanks
      JR

0
JR
3/21/2006 4:09:49 PM
[Chad, there's a question for you below.]

Hi J.R.,

        Thanks for using the PRF.

>>     ACE VERSION: 5.5
>>     HOST MACHINE and OPERATING SYSTEM:    Win XP, sp2
>> 
>>     COMPILER NAME AND VERSION:     MSVC++ 2005[12.00.8804]
>> 
>>     CONTENTS OF $ACE_ROOT/ace/config.h
>> #if !defined (_WIN32_WCE)
>> #    define ACE_ENABLE_SWAP_ON_WRITE
>> //#    define ACE_DISABLE_SWAP_ON_READ
>> #    define ACE_DISABLE_WIN32_ERROR_WINDOWS
>> #    define ACE_HAS_STANDARD_CPP_LIBRARY 1
>> #endif
>> #include "ace/config-win32.h"
>> 
>> 
>>     AREA/CLASS/EXAMPLE AFFECTED:
>> [What example failed?  What module failed to compile?]
>> 
>>     DOES THE PROBLEM AFFECT:
>>         EXECUTION?   Yes
>> 
>>     SYNOPSIS:
>> Problem with parameters to dynamic services. using old style config file
>> 
>>     DESCRIPTION:
>>     I have parameters like:
>>        "-I x -d  --longA "..." "
>> 
>> I thought I had this part working, I may have been mistaken though.
>> The parsing of the parameters gets cut off.
>> It seams like it no longer balances/matches the double-quotes.
>> I'm trying to pass long parameters to a dynamic service.
>> If so, how do I pass longer parameters like this:
>> dynamic SQLHANDLER Service_Object *
>> ./SQL_HandlerD.dll:_make_SQL_Handler() "-I SQLHANDLER -R AIXD -d
>> COMM_TEST_SQL --qi SI_SNA_InBound -a CentralModel -u ProcSNACOMTRNTEST
>> --qo SO_SNA_OutBound --qw "SO_Status = 'NEW' AND SO_PROTOCOL = 'SNA' AND
>> SO_Source_Mnemonic = 'AIXF' " "
>> 
>> Any insight or comments are welcome.

Chad, is this something that could be related to your replacement of
Svc_Conf.l with Svc_Conf_Lexer.cpp?  J.R., can you please send us/Chad
a simple test program that illustrates the problem?  It should be
straightforward to fix.

Thanks,

        Doug






















-- 
Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Institute for Software Integrated Systems    WEB: www.dre.vanderbilt.edu/~schmidt
Vanderbilt University, Nashville TN, 37203   NET: d.schmidt@vanderbilt.edu

0
Douglas
3/21/2006 4:18:03 PM
Reply:

Similar Artilces:

[tao-users] Re: [ace-users] How to use c++ native exception handling instead of ACE's while building ACE+TAO
Hi, >> My only guess is that all of the libs you are linking in your >> builds were not compiled with a consistent set of options. Right, my recommendation would be to completely blow away your existing ACE+TAO x.5 directory, download a fresh version, and start from a clean slate. It sounds like you may have things lying around from previous build attempts. Thanks, Doug -- Dr. Douglas C. Schmidt Professor and Associate Chair Electrical Engineering and Computer Science TEL: (615) 343-8197 Institute for Software Integrated Systems WEB: www.dre.vanderbilt.edu/~schmidt Vanderbilt University, Nashville TN, 37203 NET: d.schmidt@vanderbilt.edu ...

RE: [ace-users] How to use c++ native exception handling instead of ACE's while building ACE+TAO
Hi, The files hand-crafted from pseudo IDL in the ORB are all using -Ge 1, the same as the orbsvcs files in your use case, so there should be no conflict. When you say you've set exceptions=1, does that mean for orbsvcs or for the TAO build as well? We are in the process of dropping support for ACE's exception handling, and as I understand it, in the version of ACE+TAO that you have, ACE exception handling should not be possible. My own workspace always uses native exception handling (and the IDL compiler option -Ge 1), and I have no build problems at any time. My only guess is that all of the libs you are linking in your builds were not compiled with a consistent set of options. If you could do a sanity check on this, we can eliminate it as a cause of the problem and look into it more deeply. thanks, Jeff > -----Original Message----- > From: Douglas C. Schmidt [mailto:schmidt@cse.wustl.edu] > Sent: Monday, March 20, 2006 7:08 AM > To: ace-users@cs.wustl.edu; mycorba@gmail.com; > parsons@dre.vanderbilt.edu > Subject: Re: [ace-users] How to use c++ native exception > handling instead of ACE's while building ACE+TAO > > Hi, > > Thanks for using the PRF. > > >> ACE VERSION: 5.5 > > >> Why the -Ge flag is 1 in all the GNUmakefile.* (e.g. > >> GNUmakefile.CosNaming) in the directory: > >> $TAO_ROOT/orbsvcs/orbsvcs. In fact= , I h...

Re: [ace-users] How to use c++ native exception handling instead of ACE's while building ACE+TAO #2
Hi, > However, all the codes are stub and skelton files generated from IDL > files. So I am puzzled. It sounds to me like you have do something like the following: .. Build TAO's ORB services using -Ge 2 option at some point, which would leave lots of stubs/skeletons around with the emulated exceptions. .. Then later gone back and rebuilt ACE+TAO using native exceptions and -Ge 1, but not cleaned up the stubs/skeletons generated earlier. That's why I recommend you TOTALLY start over from scratch and see if things work better. If this all seems like too much effort, please go ahead and purchase a precompiled version of ACE+TAO at nominal cost from OCI <http://www.theaceorb.com>. Thanks, Doug ------=_Part_9834_13545624.1143000995070 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, Thanks! Now I am just studying TAO. I have studied the codes. For example, for the warning: "MyNotifDefs_s.hh", line 160: Warning: POA_MyDefinitions::MyNotifDefs::MyCa= l lback::_is_a Hides the virtual function TAO_ServantBase::_is_a(const char*, CORBA::Environment&) in a virtual base. I read the codes in tao/PortableServer/Servant_Base.h and tao/Abstract_Servant_Base.h, especially the virtual function _is_a (...). I comment the line "CORBA::Environment&" in such virtual functions and then the warnin...

Re: [ace-users] How to use c++ native exception handling instead of ACE's while building ACE+TAO #2
Hi Ji, >> The problem seems to me that the application code is compiled with >> an own set of GNU makefiles, they don't use the rules from the ones >> we ship with ACE. Is this correct? If so, then it's no surprise you're having problems.. >> I would propose that the reporter uses MPC to generate the >> makefiles and build those, all really looks like mismatches in >> compiler settings. Right, that's my intuition, as well. Take care, Doug -- Dr. Douglas C. Schmidt Professor and Associate Chair Electrical Engineering and Computer Science TEL: (615) 343-8197 Institute for Software Integrated Systems WEB: www.dre.vanderbilt.edu/~schmidt Vanderbilt University, Nashville TN, 37203 NET: d.schmidt@vanderbilt.edu "Douglas C. Schmidt" <schmidt@cse.wustl.edu> writes: >>> The problem seems to me that the application code is compiled with >>> an own set of GNU makefiles, they don't use the rules from the ones >>> we ship with ACE. > > Is this correct? If so, then it's no surprise you're having problems.. > >>> I would propose that the reporter uses MPC to generate the >>> makefiles and build those, all really looks like mismatches in >>> compiler settings. > > Right, that's my intuition, as well. One advantage of the autoconf build is that almost all of...

RE: [ace-users] How to use c++ native exception handling instead of ACE's while building ACE+TAO #2
This is a multi-part message in MIME format. ------_=_NextPart_001_01C64CE3.591E106C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 >From the errors below, it looks like: =20 - You have either overridden the base class method _is_a() when it needs no overriding, or you have declared another method with the same name in your implementation class. =20 - You have used throw specs in methods and then have their implementations throw exceptions not in the list. =20 - You have used methods in ACE_Array_Map that don't exist. =20 =20 None of these things is related to exception handling, at least, to the question of whether exception handling is native or emulated. =20 Jeff _____ =20 From: Ji Soo [mailto:mycorba@gmail.com]=20 Sent: Tuesday, March 21, 2006 1:51 AM To: Jeff Parsons Cc: Douglas C. Schmidt; ace-users@cs.wustl.edu Subject: Re: [ace-users] How to use c++ native exception handling instead of ACE's while building ACE+TAO =09 =09 Hi,=20 =20 Now I have download a fresh TAO's source package and built it. I compiled an idl file with tao_idl. =20 The command line is : tao_idl -Sc -Sp -Ge 2 -hc _c.hh -hs _s.hh -cs _c.cc -ss _s.cc -ci _c.i -si _s.i -Wb,pre_include=3Dace/pre.h -Wb,post_include=3Dace/post.h -I. MyTest.idl. =20 And then I compile the generated stub and skelton codes with my implementation codes. The command line is: ...

RE: [ace-users] How to use c++ native exception handling instead of ACE's while building ACE+TAO #2
Hi, > >> In fact, I built ACE + TAO with all the default configuration. > >> Just created one file config.h in ACE_wrappers/ace, which > includes one line= > >> : > >> #include "ace/config-sunos5.10.h", and another file > >> ACE_wrappers/include/makeinclude/platform_macros.GNU, > which includes only > >> one line: > $(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU. > >> > >> Then I cd into ACE_wrappers/ace and run "gmake", and then cd into > >> ACE_wrappers/apps/gperf and ACE_wrappers/TAO and run "gmake". > >> There seems no problems during the building except > warnings about some > >> modules missed such as "x11" and "SSL". > >> > >> Yes, there is no CORBA::Environment & in the methods of > those generated stu= > >> b > >> and skelton files from my test IDL files. > >> > >> I mean there are macros such as ACE_ENV_ARG_DECL_WITH_DEFAULTS > >> in the methods of those *.h and *.cpp files in the > downloaded TAO's source > >> package (e.g. the _is_a(...) functions in > >> ACE_wrappers/TAO/tao/PortableServer/Servant_Base.h and > >> ACE_wrappers/TAO/tao/PortableServer/Servant_Base.cpp). So > I think it's not > >> related to building ACE +TAO. The macros...

[ace-users] How to use c++ native exception handling instead of ACE's while building ACE+TAO
------=_Part_4200_19123378.1142842734852 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I know we can set exceptions =3D 1 or 0 in platform_macros.GNU to use ACE's exception handling or C++'s native exception handling. But I am still not clear on which value should I set exceptions to if I want to use only the C++'s native exception handling support. Thanks, -- Best regards, MyCORBA ------=_Part_4200_19123378.1142842734852 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <div>Hi,</div> <div>&nbsp;</div> <div>I know we can set exceptions =3D 1 or 0 in platform_macros.GNU</div> <div>to use ACE's exception handling or C++'s native exception handling.</d= iv> <div>&nbsp;</div> <div>But I am still not clear on which value should I set exceptions to if = </div> <div>I want to use only the C++'s native exception handling support.</div> <div>&nbsp;</div> <div>Thanks,<br clear=3D"all"><br>-- <br>Best regards,<br><br>MyCORBA </div= > ------=_Part_4200_19123378.1142842734852-- ...

[ace-bugs] Re: [ace-users] ACE
Hi, Thanks for using the PRF. >> ACE VERSION: 5.4.1 >> >> HP Server and HP-UX 11.1 >> >> aCC: HP ANSI C++ B3910B A.03.37 >> >> CONTENTS OF $ACE_ROOT/ace/config.h : config-hpux-11.00.h >> >> CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU : >> platorm_hpux_aCC.GNU >> >> AREA/CLASS/EXAMPLE AFFECTED: >> >> $ACE_ROOT/ace - Compiled successfully but >> >> $ACE_ROOT/ - failed to compile as shown below >> >> Installing gperf -> /home/umit...

[ace-bugs] Re: [ace-users] Using ACE with COM
Hi Zvika, Thanks for using the PRF. >> ACE VERSION: 5.4.2 >> >> HOST MACHINE and OPERATING SYSTEM: >> Windos XP Pro, winsock2 >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> MSVC6 SP5 >> >> CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a platform- >> specific file, simply state which one]: >> #include "config-win32.h" >> >> CONTENTS OF $ACE_ROOT...

[ace-bugs] Re: [ace-users] How to use the IPV6 in ACE?
Hi, Thanks for using the PRF. >> TAO VERSION: 1.3 >> ACE VERSION: 5.3 You definitely want to upgrade to ACE 5.4.1, which you can obtain from the "usual place" at http://deuce.doc.wustl.edu/Download.html >> HOST MACHINE and OPERATING SYSTEM: >> Intel P4/Windows 2000 Server SP4 >> SUN Ultra/ Solaris 8 >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> VC7.1 >> SUN Workshop Forte C++ 6 update 1 >> >&g...

[ace-bugs] Re: [ace-users] How to Use IPv6 in ACE?
Hi, Thanks for using the PRF. >> ACE VERSION: 5.4.1 >> >> HOST MACHINE and OPERATING SYSTEM: >> SUN Solaris 8 >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> SUN Forte6 C++ UP1 >> >> CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a platform- >> specific file, simply state which one]: >> config-sunos5.8.h >> >> CONTENTS OF $ACE_ROOT/include/makeinclude...

[ace-users] Re: [ace-bugs] ACE Licensing Issue: ace/CLASSIX
Hi Michael, Thanks for using the PRF. >> ACE VERSION: 5.4 >> >> HOST MACHINE and OPERATING SYSTEM: >> HP rp8400 HP-UX 11iv1 >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> aCC >> >> CONTENTS OF $ACE_ROOT/ace/config.h: >> >> CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU >> (unless >> this isn't used in this case, e.g., with Microsoft Visual C++): >> >> AREA/CLASS/EXAMPLE AFFECTED: >> ace/CLASSIX >> >> DOES THE PROBLEM AFFECT: >> OTHER? (Licensing) >> >> SYNOPSIS: >> Nearly all the files in ace/CLASSIX have a copyright in them >> or a signature from Nokia. Our lawyers are going nuts. >> Example: >> CLASSIX_Dgram_Mcast.cpp: >> // Copyright 1998 Nokia Telecommunications >> >> CLASSIX_OS.h >> // = AUTHOR(S) >> // Nokia Telecommunications >> >> DESCRIPTION: >> How does this affect the ace license? >> >> REPEAT BY: >> >> SAMPLE FIX/WORKAROUND: >> Get the copyrights out of the code, or put special permissions >> into the code. O...

[ace-bugs] Re: [ace-users] Re: native C++ exception support
Hi, > hi, > > Thanks for using the PRF. > > >> ACE VERSION: 5.4 > >> > >> HOST MACHINE and OPERATING SYSTEM: > >> SunOS pangea 5.8 Generic_117350-05 sun4u sparc SUNW,Ultra-80 > >> > >> COMPILER NAME AND VERSION (AND PATCHLEVEL): > >> gcc version 3.2 > >> > >> CONTENTS OF $ACE_ROOT/ace/config.h: > >> #include "ace/config-sunos5.8.h" > >> > >> > >> CONTENTS OF $ACE_ROOT/include/makeinclude/platform_ma...

[ace-bugs] Re: [ace-users] Has anyone mixed boost.org libraries with ACE using the standard ACE Makefile?
Hi, There is now also a boost_unit_test base project, maybe we should rename that just to boost add the libs for the other compilers. With MPC you can then generate makefiles supporting boost. The boost_unit_test will be in the upcoming x.4.3 release. Regards, Johnny Willemsen Remedy IT Leeghwaterstraat 25 2811 DT Reeuwijk The Netherlands www.theaceorb.nl / www.remedy.nl "Xue Yong Zhi" <seclib@seclib.com> wrote in message news:<51693.66.240.11.2.1100214499.squirrel@www.seclib.com>... > I recommend you to read a few basic documents about using ...

[ace-bugs] Re: [ace-users] How to Use IPv6 in ACE? #2
Please stop reposting this question. Bala and I have already answered it the past several days. Check out http://groups.yahoo.com/group/ace-bugs/message/4421 for my answer. Thanks, Doug >> ACE VERSION: 5.4.1 >> >> HOST MACHINE and OPERATING SYSTEM: >> SUN Solaris 8 >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> SUN Forte6 C++ UP1 >> >> CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a...

[ace-bugs] Re: [ace-users] ACE/TAO irc channel
Hi, > Does an ACE/TAO IRC channel exist? If so where? If not should we create one? Not that I know of. Maybe it is something some people could use but most of the core developers are already swamped with work and do their best to answer e-mails on the mailing lists, so adding another communication channel is not something they probably have time for the respond to. Johnny On Friday 29 April 2005 02:44, Johnny Willemsen wrote: > Hi, > > > Does an ACE/TAO IRC channel exist? If so where? If not should we create > > one? > > Not that I know of. Maybe it is something some people could use but most of > the core developers are already swamped with work and do their best to > answer e-mails on the mailing lists, so adding another communication > channel is not something they probably have time for the respond to. > > Johnny Even as a ACE users online forum it would be helpful sometimes. Some questions (not related to bugs) can be asked easier on a medium that allows immediate response. It could also help to to build an ACE community where experienced users answer less experienced users. And even if the developers listen on the channel (for curiosity I suppose) - nobody requires them to answer. How about a poll? Who is interested in participating (actively) in an ACE/TAO irc channel? If we get enough interest we can think of creating one. Freenode would be my suggestion. We can also create separ...

[ace-bugs] Re: [ace-users] WSAEISCONN is not handled in ACE::sock_error
Hi Boris, Thanks for using the PRF. >> ACE VERSION: 5.4.1 >> >> HOST MACHINE and OPERATING SYSTEM: >> Win32, Linux (PC), Solaris >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> >> SYNOPSIS: >> ACE::sock_error returns "unknown error: 10056" for WSAEISCONN error >> code. >> >> >> DESCRIPTION: >> ACE::sock_error returns "unknown error: 10056&qu...

[ace-bugs] Re: [ace-users] Moving to ACE?
Hi Marcelo, Thanks for your email. BTW, to ensure that we have proper version/platform/compiler information, please make sure you fill out the appropriate problem report form (PRF), which is in $ACE_ROOT/PROBLEM-REPORT-FORM $TAO_ROOT/PROBLEM-REPORT-FORM or in $ACE_ROOT/BUG-REPORT-FORM $TAO_ROOT/BUG-REPORT-FORM in older versions of ACE+TAO. Make sure to include this information when asking any questions about ACE+TAO since otherwise we have to "guess" what version/platform/compiler/options you've using, which is error-prone and slows down our responsiveness...

[ace-bugs] Re: [ace-users] DCLP and ACE
Hi Yongwei, >> Has anyone here read the DDJ article "C++ and the Perils of >> Double-Checked Locking"? It is available at this URL: >> >> http://www.ddj.com/documents/ddj0408l/ >> >> Regretfully registration is needed to read it. >> >> In brief, Scott Meyers and Andrei Alexandrescu talked about why DCLP is >> unsafe, esp. on multiprocessor environments. The most difficult part >> seems to be the Alpha Reordering problem, described at >> >> http://www.cs.umd.edu/~pugh/java/memoryModel/AlphaReorde...

[ace-bugs] Re: [ace-users] ACE
Hi Srujan, >> I am using ACE 5.1 on Solaris. How can I find out that IPv6 is >> enabled in my build. I couldnt use the ACE::ipv6_enabled() >> function. Also, in ACE5.1 how can I detertmine at run time that >> IPv6 has been enabled on the machine. ACE 5.1 is ANCIENT. Please upgrade to a more recent version of ACE, e.g., ACE 5.4.4 <deuce.doc.wustl.edu/Download.html> or one of the commercially supported versions, as discussed at http://www.cs.wustl.edu/~schmidt/commercial-support.html Thanks, Doug -- Dr. Douglas C. Schmidt Professor and Associate Chair Electrical Engineering and Computer Science TEL: (615) 343-8197 Institute for Software Integrated Systems WEB: www.dre.vanderbilt.edu/~schmidt Vanderbilt University, Nashville TN, 37203 NET: d.schmidt@vanderbilt.edu ...

[ace-bugs] Re: [ace-users] Contribution to ACE
Hi Ishay, >> I will submit it soon. Great, thanks. >> The solution is implemented as part of my company internal framework. It is >> not written with the coding style of ace. >> >> Should I do some kind of adjustment before submitting it to the group? Yes - please see http://www.cs.wustl.edu/~schmidt/ACE_wrappers/docs/ACE-guidelines.html for instructions on how to conform to the ACE programming guidelines. >> Should I rewrite it so it will compile with the ace library? Yes, please try to get things working "out of the box" so that we can integrate it easily. Also, please add a "one button" test following the style of the various tests in $ACE_ROOT/tests/*_Test.cpp so that we can ensure that your changes work properly. >> Also, In order to integrate it as part of ace frameworks it will >> need some changes in the implementation. Are you referring to changes in the ACE implementation or to your framework's implementation? Thanks, Doug -- Dr. Douglas C. Schmidt Professor and Associate Chair Electrical Engineering and Computer Science TEL: (615) 343-8197 Institute for Software Integrated Systems WEB: www.dre.vanderbilt.edu/~schmidt Vanderbilt University, Nashville TN, 37203 NET: d.schmidt@vanderbilt.edu ...

[ace-bugs] Re: [ace-users] ACE-warnings
Hi, Thanks for using the PRF form. It seems you are using compiler options we are not using in our builds. What I have done is setup a small ACE build with some extra warnings enabled, see http://www.dre.vanderbilt.edu/scoreboard/integrated.html for the SuSE_92_GCC3.3.4_x86_64_extended_warnings build. It seems some work can be done, if you have patches to improve things, send them to the mailing list (make then bases on 5.4.2, 5.4 is almost a year old) and we can see if we can apply them. Regards, Johnny Willemsen Remedy IT Leeghwaterstraat 25 2811 DT Reeuwijk The Netherlan...

[ace-bugs] Re: [ace-users] ACE Site Down !!!!!!!!
Hi Folks, >> Could you please post the URL's that you think are down? If you are >> takling of the intro online tutorials from Dr. Schmidt's website, >> then I may know the answer. Those tutorials were removed from the >> repository a few days back. BTW, the tutorials were removed for two reasons: .. No one was maintaining them. If you or anyone else would like to volunteer to maintain them we can add them back. .. They have been superceeded by the material from C++NPv[12] and APG, which are described at http://www.cs.wustl.edu/~schm...

[ace-bugs] Re: [ace-users]: Building ACE on Mandrakelinux 10.1
Hi, > ACE VERSION: 5.4.6 Thanks for using the PRF. Are you really using this version. In your compile output we can see that you build Makefile.ace, this makefile is not part of the 5.4.6 release but is in the 5.4/5.4.1 version of ACE. Please download the x.4.6 beta from http://deuce.doc.wustl.edu/Download.html and build that version. The 5.4/5.4.1 versions are not supported with GCC 3.4 and newer. Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl > HOST MACHINE and OPERATING SYSTEM: > Dell Inspiron 5150 laptop, Pentium 4 processor, > Mandrakelinux 10.1 (this is a dual boot laptop with Windows XP, > but I am doing everything with Mandrakelinux 10.1, not Windows > XP). Am using BASH shell 2.05(b).0(1). The Linux kernel is > supposedly 2.6.8, and glibc is supposedly version 2.3.3, but I > cannot find it (I can find /lib/libc-2.3.3.so). > > TARGET MACHINE and OPERATING SYSTEM, if different from HOST: > Same as above. > > COMPILER NAME AND VERSION (AND PATCHLEVEL): > g++, version 3.4.1. > > THE $ACE_ROOT/ace/config.h FILE: > #include "ace/config-linux.h" > > THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE: > include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU > > (Note: ACE_ROOT=/ace/ACE_wrappers) > > CONTENTS OF ...

Web resources about - [ace-bugs] Re: [ace-users] How to use c++ native exception handling instead of ACE's while building ACE+TAO - comp.soft-sys.ace

Samsung Galaxy Ace 4 User Reviews
Samsung Galaxy Ace 4 reviews written by Phone Arena users. You can read the opinion of each user and how they rate the phone in 11 categories. ...

Samsung Galaxy Ace 3 official: iPhone-alike size for the new user
Samsung has revealed another in its Galaxy series, the Galaxy Ace 3, now targeting entry-level smartphone users who want a pocket-friendly 4-inch ...

Resources last updated: 3/5/2016 8:47:12 AM