c++/244: Incomplete comment in RS6000 AIX XmStrDefs.h file

David.Thornley@ces.com David.Thornley@ces.com
Thu May 25 11:06:00 GMT 2000


>Number:         244
>Category:       c++
>Synopsis:       Incomplete comment in RS6000 AIX XmStrDefs.h file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 25 11:06:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     David Thornley
>Release:        gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
IBM RS6000
AIX 4.3.3.0
>Description:
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).
>How-To-Repeat:
Compile a source file with
#include <Xm/XmStrDefs.h>
>Fix:
Change file listed above, line 5473 to
#endif*/
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Gcc-prs mailing list