Bug 244 - Incomplete comment in RS6000 AIX XmStrDefs.h file
Summary: Incomplete comment in RS6000 AIX XmStrDefs.h file
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 2.95.2
: P3 normal
Target Milestone: ---
Assignee: Bruce Korb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-05-25 11:06 UTC by david.thornley
Modified: 2003-07-25 17:33 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description david.thornley 2000-05-25 11:06:00 UTC
Attempts to #include <Xm/XmStrDefs.h> fail because there
is a mismatched #endif.  In file
/usr/local/lib/gcc-lib/
rs6000-ibm-aix4.3.3.0/2.95.2/include/Xm/XmStrDefs
at line 5469 there is the code:

/*#ifdef IBM_MOTIF*/
#define XmSTRING_DEFAULT_CHARSET      XmSFONTLIST_DEFAULT_TAG_STRING
/*#else
#define XmSTRING_DEFAULT_CHARSET        XmS
#endif

and the comment is not closed until end-of-file, throwing
the #endifs out of whack (among other things).

Release:
gcc version 2.95.2 19991024 (release)

Environment:
IBM RS6000
AIX 4.3.3.0

How-To-Repeat:
Compile a source file with
#include <Xm/XmStrDefs.h>
Comment 1 david.thornley 2000-05-25 11:06:00 UTC
Fix:
Change file listed above, line 5473 to
#endif*/

Remove Xm/XmStrDef.h from gcc header cache.
Comment 2 David Edelsohn 2000-07-24 10:54:51 UTC
Responsible-Changed-From-To: unassigned->korbb
Responsible-Changed-Why: fixinc problem (already fixed)
Comment 3 David Edelsohn 2000-07-24 10:54:51 UTC
State-Changed-From-To: open->closed
State-Changed-Why: "fixinc" fixed in sources GCC Oct 1999.