gcc-2.95 and mainline fixincl bug breaking AIX header file

David Edelsohn dje@watson.ibm.com
Thu Oct 14 08:30:00 GMT 1999


[This was reported by AIX 4.3.2 users]

	AIX 4.3.2 header file /usr/include/Motif2.1/Xm/XmStrDefs.h
includes the following around line 5469:

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

After GCC header file processing, this becomes:

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

Note the trailing "*/" after "#endif" has been stripped.  The entire end
of the file now becomes a comment without a matching "*/".

	Any suggestion on where to find this in the fixincl maze?

Thanks, David


More information about the Gcc-bugs mailing list