gcc -DHAVE_CONFIG_H -I. -I../fonttosfnt -Wdate-time -D_FORTIFY_SOURCE=2 -DXVENDORNAME=\"X.Org\ Foundation\" -I/usr/include/freetype2 -I/usr/include/libpng16 -DXVENDORNAMESHORT=\"X.Org\" -D_BSD_SOURCE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../fonttosfnt/write.c
sed -e 's|__vendorversion__|"fonttosfnt 1.0.4" "X Version 11"|' -e 's|__xorgversion__|"fonttosfnt 1.0.4" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__apploaddir__||' -e 's|__appmansuffix__|1|g' -e 's|__libmansuffix__|3|g' -e 's|__adminmansuffix__|8|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' < ../fonttosfnt/fonttosfnt.man > fonttosfnt.1
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdlib.h:26,
from ../fonttosfnt/struct.c:24: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
In file included from /usr/include/time.h:25,
from ../fonttosfnt/util.c:25:
/usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from ../fonttosfnt/read.c:26:
/usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from ../fonttosfnt/fonttosfnt.c:25: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from ../fonttosfnt/write.c:29: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
../fonttosfnt/read.c: In function ‘readFile’: ../fonttosfnt/read.c:239:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘FT_Pos’ {aka ‘long int’} [-Wformat=]
239 | fprintf(stderr, "size %d: %dx%d\n",
| ~^
| |
| int
| %ld
240 | i,
241 | face->available_sizes[i].x_ppem >> 6,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| FT_Pos {aka long int}
../fonttosfnt/read.c:239:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘FT_Pos’ {aka ‘long int’} [-Wformat=]
239 | fprintf(stderr, "size %d: %dx%d\n",
| ~^
| |
| int
| %ld
......
242 | face->available_sizes[i].y_ppem >> 6);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| FT_Pos {aka long int}
../fonttosfnt/util.c: In function ‘vsprintf_alloc’: ../fonttosfnt/util.c:89:10: error: implicit declaration of function ‘vasprintf’; did you mean ‘vsprintf’? [-Werror=implicit-function-declaration]
89 | rc = vasprintf(&r, f, args);
| ^~~~~~~~~
| vsprintf
cc1: some warnings being treated as errors
make[3]: *** [Makefile:355: util.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 10:26:33 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,335 |