diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-04-03 16:53:23 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-04-03 16:53:23 -0700 |
commit | bcff9fb31f8b6944ed1e72cbdcc5dff14b321b4c (patch) | |
tree | d6eea56e86032650e172d575b12bd950e551c451 | |
parent | 58535e417d7db4443ae668166ef80e1c0a59f6a2 (diff) |
Use _CONST_X_STRING to make libXt declare String as const char *
Gets rid of 58 out of 73 -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 5b4288e..0b775bd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,6 +22,7 @@ SUBDIRS = man bin_PROGRAMS = xmag +AM_CPPFLAGS = -D_CONST_X_STRING AM_CFLAGS = $(XMAG_CFLAGS) $(CWARNFLAGS) xmag_LDADD = $(XMAG_LIBS) |