[Ace-users] [ciao-users] Problem trying to include "Deployment_ExecutionManagerC.h" and DeploymentC.h” in an component executor header file

santos . sanntosn at gmail.com
Fri Mar 7 10:50:19 CST 2008


Hi Will,

I had indeed another Deployment_stub_Export in a project of mine.
After generating again the Export files with another name and updating the
MPC file the compilation worked fine.

Thank you again for your valuable help.

Santos

2008/3/6, William R. Otte <wotte at dre.vanderbilt.edu>:
>
> Hi Santos -
>
> On Mar 6, 2008, at 4:32 PM, santos . wrote:
>
> > Hi Will,
> >
> > After changing the MPC file and executor implementation do I need to
> > generate the export header file of the component executor again?
> >
>
> I doubt its a problem in your executor - When I say something wonky
> with the export macros, I mean those in Deployment_BaseC.h.  If you
> take a look, the class definitions in that file looks like this:
>
>   class Deployment_stub_Export Properties
>     : public
>         TAO::unbounded_value_sequence<
>             Property
>           >
>   {
>   public:
>     Properties (void);
>     Properties ( ::CORBA::ULong max);
>     Properties (
>
> In this case, Deployment_stub_Export is the export macro, and expands
> to a compiler specific visibility attribute, and shouldn't show up
> anywhere in preprocessed source, and consequently error diagnostics.
> If you take a look at the compiler errors you are getting, it is
> complaining about Deployment_stub_Export!  This means, for whatever
> reason, that macro is not being defined.
>
> Are you using somewhere DEPLOYMENT_STUB_EXPORT_H as an include guard
> in your project?
>
> hth,
> /-Will
>
>
> _______________________________________________
> ciao-users mailing list
> ciao-users at mail.cse.wustl.edu
> http://mail.cse.wustl.edu/mailman/listinfo/ciao-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20080307/d12c4dc5/attachment.html 


More information about the Ace-users mailing list