[Ace-users] [tao-bugs] Service_Gestalt.h : Compilation errors
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Mon Dec 3 11:25:20 CST 2007
Hi Onur,
Thanks for using the PRF.
> TAO VERSION: 1.6
> ACE VERSION: 5.6
Please upgrade to ACE+TAO+CIAO x.6.1 (i.e., ACE 5.6.1, TAO 1.6.1, and
CIAO 0.6.1), which you can download from
http://download.dre.vanderbilt.edu
under the heading: "Latest Beta Kit."
The DOC groups at Washington University, UC Irvine, and Vanderbilt
University only provide "best effort" support for non-sponsors for the
latest release, as described in
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/docs/ACE-bug-process.html
Thus, if you need more "predictable" help for earlier versions of
ACE+TAO, I recommend that you check out
http://www.dre.vanderbilt.edu/support.html
for a list of companies that will provide you with ACE+TAO commercial
support.
Thanks,
Doug
> HOST MACHINE and OPERATING SYSTEM:
> SunOS 5.8 sparc
>
> TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
> COMPILER NAME AND VERSION (AND PATCHLEVEL):
> CC: Sun C++ 5.7
> 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.8.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):
> N/A
> AREA/CLASS/EXAMPLE AFFECTED:
> [What example failed? What module failed to compile?]
> Service_Gestalt.h
> DOES THE PROBLEM AFFECT:
> COMPILATION? Yes
> If so, what do your $ACE_ROOT/ace/config.h and
> $ACE_ROOT/include/makeinclude/platform_macros.GNU contain?
> #include "ace/config-sunos5.8.h"
> include $(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU
>
> LINKING?
> On Unix systems, did you run make realclean first?
> EXECUTION?
> OTHER (please specify)?
> [Please indicate whether ACE/TAO, your application, or both are affected.]
> My application is affected.
> SYNOPSIS:
> [Brief description of the problem]
> When I try to compile I get errors from Service_Gestalt.h
>
> DESCRIPTION:
> Here is some of the error messages:
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 80: Error: "}" expected instead of "6144".
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 80: Warning (Anachronism): A declaration does not specify a tag or
> an identifier.
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 80: Error: Use ";" to terminate declarations.
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 80: Error: "}" expected instead of "6144".
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 80: Error: Use ";" to terminate declarations.
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 80: Error: A declaration was expected instead of "6144".
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 86: Error: No direct declarator preceding "(".
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 92: Error: "virtual" is not allowed here.
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 92: Error: Illegal number of arguments for ~file level().
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 95: Error: The function "dump() const" cannot be declared const.
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 214: Error: The function "find(const char*, const
> ACE_Service_Type**, int) const" cannot be declared const.
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 305: Error: The function "find_static_svc_descriptor(const char*,
> ACE_Static_Svc_Descriptor**) const" cannot be declared const.
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 318: Error: A declaration was expected instead of "protected".
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 323: Error: "virtual" is not allowed here.
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 335: Error: "virtual" is not allowed here.
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 382: Error: A declaration was expected instead of "protected".
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 402: Error: "friend" is not allowed here.
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 402: Warning: declarator required in declaration.
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 403: Error: "friend" is not allowed here.
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 403: Warning: declarator required in declaration.
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 404: Error: "friend" is not allowed here.
> "/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 404: Warning: declarator required in declaration.
>
> REPEAT BY:
> [What you did to get the error; include test program or session
> transcript if at all possible. ]
>
> SAMPLE FIX/WORKAROUND:
> [If available ]
>
> ---------------------------------------------------------------------------------------------------------------------------
> Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.
>
> _______________________________________________
> tao-bugs mailing list
> tao-bugs at mail.cse.wustl.edu
> http://mail.cse.wustl.edu/mailman/listinfo/tao-bugs
More information about the Ace-users
mailing list