Skip to content

Define _CONST_X_STRING when including Xaw & Xt headers

Alan Coopersmith requested to merge alanc/xdm:issue-16 into master

Fixes build when building against libXaw 1.0.16 since xorg/lib/libxaw@d0fcbd97 changed the definition of XawListChange in <X11/Xaw/List.h> from _Xconst char * to String *, where String is defined as const if _CONST_X_STRING is defined.

This also clears up 105 of the 162 -Wdiscarded-qualifiers warnings.

Closes: #16 (closed)
Fixes: bccb7774 ("Fix -Wincompatible-pointer-types warning from gcc (issue #15 (closed))")
Signed-off-by: Alan Coopersmith @alanc

Merge request reports

Loading