<div>To: tao-bugs@cs.wustl.edu<BR>Subject: [area]: [synopsis]<BR><BR> TAO VERSION: 1.6<BR> ACE VERSION: 5.6<BR><BR> HOST MACHINE and OPERATING SYSTEM:<BR> SunOS 5.8 sparc<BR><BR> TARGET MACHINE and OPERATING SYSTEM, if different from HOST:<BR> COMPILER NAME AND VERSION (AND PATCHLEVEL):<BR> CC: Sun C++ 5.7<BR> THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-<BR> specific file, simply state which one]:<BR> #include "ace/config-sunos5.8.h"<BR><BR> THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you<BR> use a link to a platform-specific file, simply state which one<BR> (unless this isn't used in this case, e.g., with
Microsoft Visual<BR> C++)]:</div> <div> include $(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU<BR> <BR><BR> CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features<BR> (used by MPC when you generate your own makefiles):<BR>N/A<BR> AREA/CLASS/EXAMPLE AFFECTED:<BR>[What example failed? What module failed to compile?]<BR>Service_Gestalt.h<BR> DOES THE PROBLEM AFFECT:<BR> COMPILATION? Yes<BR> If so, what do your $ACE_ROOT/ace/config.h and<BR> $ACE_ROOT/include/makeinclude/platform_macros.GNU contain?</div> <div>#include "ace/config-sunos5.8.h"<BR>include
$(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU<BR><BR> LINKING?<BR> On Unix systems, did you run make realclean first?<BR> EXECUTION?<BR> OTHER (please specify)?<BR>[Please indicate whether ACE/TAO, your application, or both are affected.]<BR>My application is affected.<BR> SYNOPSIS:<BR>[Brief description of the problem]</div> <div>When I try to compile I get errors from Service_Gestalt.h<BR><BR> DESCRIPTION:<BR>Here is some of the error messages:</div> <div>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 80: Error: "}" expected instead of "6144".<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 80: Warning (Anachronism): A declaration does not specify a tag or an
identifier.<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 80: Error: Use ";" to terminate declarations.<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 80: Error: "}" expected instead of "6144".<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 80: Error: Use ";" to terminate declarations.<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 80: Error: A declaration was expected instead of "6144".<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 86: Error: No direct declarator preceding "(".<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 92: Error: "virtual" is not allowed here.<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 92: Error: Illegal number of arguments for ~file level().<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 95: Error: The function "dump() const" cannot be declared const.<BR>"/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.<BR>"/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.<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 318: Error: A declaration was expected instead of "protected".<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 323: Error: "virtual" is not allowed here.<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 335: Error: "virtual" is not allowed here.<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 382: Error: A declaration was expected instead of "protected".<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 402: Error: "friend" is not allowed here.<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 402: Warning: declarator required in
declaration.<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 403: Error: "friend" is not allowed here.<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 403: Warning: declarator required in declaration.<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 404: Error: "friend" is not allowed here.<BR>"/home/z527199/ACE_wrappers/ace/Service_Gestalt.h", line 404: Warning: declarator required in declaration.<BR></div> <div><BR><BR> REPEAT BY:<BR>[What you did to get the error; include test program or session<BR>transcript if at all possible. ]<BR><BR> SAMPLE FIX/WORKAROUND:<BR>[If available ]<BR></div><p> 
<hr size=1>Be a better pen pal.
Text or chat with friends inside Yahoo! Mail. <a href="http://us.rd.yahoo.com/evt=51732/*http://overview.mail.yahoo.com/">See how.</a>