[ace-users] Doubt on __ACE_INLINE__!

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Sun Aug 5 10:20:24 CDT 2007


Hi Jayaraghavendran,

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
very error-prone and slows down our responsiveness.  If you don't use
the PRF, therefore, it is less likely that someone from the core
ACE+TAO developer team will be able to answer your question.
Naturally, we encourage and appreciate other members of the ACE+TAO
user community who can respond to questions that they have the answers
to.

> In some of the platform config files (like solaris) the
> __ACE_INLINE__ macro is defined whereas in windows config files the
> same is not defined. I went through the ACE source and understood
> that the inline functions can either be included in the header files
> (if __ACE_INLINE__ is defined) or in the source files (if
> __ACE_INLINE__ is not defined).  

Yes, that's correct.

> What is the purpose of doing so? Is there any benefit in this? 

It enables users to selectively toggle the amount of inlining they
prefer.

> Also, if we want to use only the header files for building an
> application in Solaris 8, it throws an error stating that the
> particular ".inl or .i" file was not found. How to resolve this?

It's not clear what the problem is - can you please (1) upgrade to ACE
5.5.10 and (2) send us a short example that demonstrates the problem?

thanks,

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



More information about the Ace-users mailing list