summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-01 18:33:51 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-01 18:33:51 -0700
commit73e835828184af9230db2176579a4ff74da7785b (patch)
tree27d866a1f91a9cb0a2a3884a04a9e9201f401a88 /.gitignore
parent60be69492ae346a89c5e510dfa6af8495c4fa078 (diff)
Use _CONST_X_STRING to make libXt declare String as const char *
Clears gcc 7.3 warnings of: appres.c: In function ‘main’: appres.c:36:16: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] #define NONAME "-AppResTest-" ^ appres.c:126:20: note: in expansion of macro ‘NONAME’ String iname = NONAME, cname = NONAME; ^~~~~~ appres.c:36:16: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] #define NONAME "-AppResTest-" ^ appres.c:126:36: note: in expansion of macro ‘NONAME’ String iname = NONAME, cname = NONAME; ^~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions