test-bz1744377.c: In function 'main':
test-bz1744377.c:29:26: warning: pointer targets in initialization of 'const FcChar8 *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign]
29 | const FcChar8 *doc = ""
| ^~
test-bz1744377.c:34:27: warning: pointer targets in initialization of 'const FcChar8 *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign]
34 | const FcChar8 *doc2 = ""
| ^~
test-issue180.c: In function 'main':
test-issue180.c:31:26: warning: pointer targets in initialization of 'const FcChar8 *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign]
31 | const FcChar8 *doc = ""
| ^~
test-issue180.c:36:27: warning: pointer targets in initialization of 'const FcChar8 *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign]
36 | const FcChar8 *doc2 = ""
| ^~
test-issue107.c: In function 'main':
test-issue107.c:186:26: warning: pointer targets in initialization of 'const FcChar8 *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign]
186 | const FcChar8 *doc = ""
| ^~
test-issue107.c:211:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
211 | len = strlen (doc) + strlen (basedir) + 1;
| ^~~
| |
| const FcChar8 * {aka const unsigned char *}
In file included from test-issue107.c:30:
/usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'const FcChar8 *' {aka 'const unsigned char *'}
384 | extern size_t strlen (const char *__s)
| ~~~~~~~~~~~~^~~
test-issue107.c:213:15: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
213 | snprintf (dd, len, doc, basedir);
| ^~
| |
| FcChar8 * {aka unsigned char *}
In file included from /usr/include/features.h:465,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from test-issue107.c:28:
/usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'FcChar8 *' {aka 'unsigned char *'}
64 | __NTH (snprintf (char *__restrict __s, size_t __n,
| ^~~~~
test-issue107.c:213:24: warning: pointer targets in passing argument 3 of 'snprintf' differ in signedness [-Wpointer-sign]
213 | snprintf (dd, len, doc, basedir);
| ^~~
| |
| const FcChar8 * {aka const unsigned char *}
In file included from /usr/include/features.h:465,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from test-issue107.c:28:
/usr/include/bits/stdio2.h:64:1: note: expected 'const char * restrict' but argument is of type 'const FcChar8 *' {aka 'const unsigned char *'}
64 | __NTH (snprintf (char *__restrict __s, size_t __n,
| ^~~~~
test-issue107.c:220:25: warning: pointer targets in passing argument 1 of 'FcDirCacheRead' differ in signedness [-Wpointer-sign]
220 | c = FcDirCacheRead (basedir, FcFalse, cfg);
| ^~~~~~~
| |
| char *
In file included from test-issue107.c:38:
../fontconfig/fontconfig.h:609:1: note: expected 'const FcChar8 *' {aka 'const unsigned char *'} but argument is of type 'char *'
609 | FcDirCacheRead (const FcChar8 *dir, FcBool force, FcConfig *config);
| ^~~~~~~~~~~~~~
test-issue107.c:233:29: warning: pointer targets in passing argument 1 of 'FcStrBuildFilename' differ in signedness [-Wpointer-sign]
233 | d = FcStrBuildFilename (sysroot, basedir, NULL);
| ^~~~~~~
| |
| char *
In file included from test-issue107.c:38:
../fontconfig/fontconfig.h:1081:1: note: expected 'const FcChar8 *' {aka 'const unsigned char *'} but argument is of type 'char *'
1081 | FcStrBuildFilename (const FcChar8 *path,
| ^~~~~~~~~~~~~~~~~~
test-issue107.c:235:14: warning: pointer targets in passing argument 1 of 'mkdir_p' differ in signedness [-Wpointer-sign]
235 | mkdir_p (d);
| ^
| |
| FcChar8 * {aka unsigned char *}
test-issue107.c:82:22: note: expected 'const char *' but argument is of type 'FcChar8 *' {aka 'unsigned char *'}
82 | mkdir_p (const char *dir)
| ~~~~~~~~~~~~^~~
test-issue107.c:239:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
239 | len = strlen (doc) + strlen (basedir) + 1;
| ^~~
| |
| const FcChar8 * {aka const unsigned char *}
In file included from test-issue107.c:30:
/usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'const FcChar8 *' {aka 'const unsigned char *'}
384 | extern size_t strlen (const char *__s)
| ~~~~~~~~~~~~^~~
test-issue107.c:241:15: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
241 | snprintf (dd, len, doc, basedir);
| ^~
| |
| FcChar8 * {aka unsigned char *}
In file included from /usr/include/features.h:465,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from test-issue107.c:28:
/usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'FcChar8 *' {aka 'unsigned char *'}
64 | __NTH (snprintf (char *__restrict __s, size_t __n,
| ^~~~~
test-issue107.c:241:24: warning: pointer targets in passing argument 3 of 'snprintf' differ in signedness [-Wpointer-sign]
241 | snprintf (dd, len, doc, basedir);
| ^~~
| |
| const FcChar8 * {aka const unsigned char *}
In file included from /usr/include/features.h:465,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from test-issue107.c:28:
/usr/include/bits/stdio2.h:64:1: note: expected 'const char * restrict' but argument is of type 'const FcChar8 *' {aka 'const unsigned char *'}
64 | __NTH (snprintf (char *__restrict __s, size_t __n,
| ^~~~~
test-issue107.c:248:25: warning: pointer targets in passing argument 1 of 'FcDirCacheRead' differ in signedness [-Wpointer-sign]
248 | c = FcDirCacheRead (basedir, FcFalse, cfg);
| ^~~~~~~
| |
| char *
In file included from test-issue107.c:38:
../fontconfig/fontconfig.h:609:1: note: expected 'const FcChar8 *' {aka 'const unsigned char *'} but argument is of type 'char *'
609 | FcDirCacheRead (const FcChar8 *dir, FcBool force, FcConfig *config);
| ^~~~~~~~~~~~~~
test-bz106632.c: In function 'main':
test-bz106632.c:195:12: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
195 | (void) system (cmd);
| ^~~~~~~~~~~~
test-bz106632.c:224:12: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
224 | (void) system (cmd);
| ^~~~~~~~~~~~
test-bz106632.c:269:12: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
269 | (void) system (cmd);
| ^~~~~~~~~~~~
test-conf.c: In function 'build_pattern':
test-conf.c:72:47: warning: pointer targets in passing argument 1 of 'FcNameGetConstant' differ in signedness [-Wpointer-sign]
72 | const FcConstant *c = FcNameGetConstant (json_object_get_string (iter.val));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const char *
In file included from test-conf.c:27:
../fontconfig/fontconfig.h:838:1: note: expected 'const FcChar8 *' {aka 'const unsigned char *'} but argument is of type 'const char *'
838 | FcNameGetConstant (const FcChar8 *string);
| ^~~~~~~~~~~~~~~~~
test-conf.c:98:9: warning: pointer targets in assignment from 'const char *' to 'const FcChar8 *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign]
98 | v.u.s = json_object_get_string (iter.val);
| ^
test-conf.c:73:13: warning: unused variable 'b' [-Wunused-variable]
73 | FcBool b;
| ^
test-conf.c: In function 'run_test':
test-conf.c:161:16: warning: variable 'fs' set but not used [-Wunused-but-set-variable]
161 | FcFontSet *fs;
| ^~
test-conf.c: In function 'run_scenario':
test-conf.c:401:25: warning: unused variable 'scenario' [-Wunused-variable]
401 | json_object *root, *scenario;
| ^~~~~~~~
test-conf.c: In function 'load_config':
test-conf.c:448:51: warning: pointer targets in passing argument 2 of 'FcConfigParseAndLoadFromMemory' differ in signedness [-Wpointer-sign]
448 | ret = FcConfigParseAndLoadFromMemory (config, buf, FcTrue);
| ^~~
| |
| char *
In file included from test-conf.c:27:
../fontconfig/fontconfig.h:1129:21: note: expected 'const FcChar8 *' {aka 'const unsigned char *'} but argument is of type 'char *'
1129 | const FcChar8 *buffer,
| ~~~~~~~~~~~~~~~~^~~~~~
test-conf.c:445:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
445 | fread (buf, (size_t)len, sizeof (char), fp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~