[Ace-users] [tao-bugs] Service_Gestalt.h : Compilation errors
Onur Altunyay
onuraltunyay at yahoo.com
Mon Dec 3 11:22:23 CST 2007
To: tao-bugs at cs.wustl.edu
Subject: [area]: [synopsis]
TAO VERSION: 1.6
ACE VERSION: 5.6
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20071203/2bc07bcd/attachment-0001.html
More information about the Ace-users
mailing list