diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-09-11 12:01:16 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-09-17 08:33:10 -0700 |
commit | f5656f8b21291713f32d2667e4fe2d98a8771436 (patch) | |
tree | 7ebe4aa1ef56536e7ee4a99e4acf800b1d7adb68 | |
parent | d5ec989d9d0259f1b8138ea3fe0b59e12053a796 (diff) |
Use _CONST_X_STRING to make libXt declare String as const char *
Clears 42 out of 66 -Wdiscarded-qualifiers warnings from gcc
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 2f139a5..c82388b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,6 +22,7 @@ SUBDIRS = man bin_PROGRAMS = xditview +AM_CPPFLAGS = -D_CONST_X_STRING AM_CFLAGS = $(XDITVIEW_CFLAGS) xditview_LDADD = $(XDITVIEW_LIBS) -lm |