gcc -pie -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_
command-line-args.c: In function ‘CommandLineParseArgs’:DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_
files.c: In function ‘HashratHashSingleFile’:
files.c:243:18: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘__time_t’ {aka ‘long int’} [-Wformat=]
243 | printf("cache %llu %llu %llu\n",XattrStat.st_mtime, FStat->st_mtime, XattrStat.st_mtime - FStat->st_mtime);
| ~~~^
| |
| long long unsigned int
| %lu
command-line-args.c:279:66: warning: passing argument 1 of ‘IncludeExcludeLoadExcludesFromFile’ from incompatible pointer type [-Wincompatible-pointer-types]
279 | else if (strcmp(arg,"-X")==0) IncludeExcludeLoadExcludesFromFile(Ctx, CommandLineNext(&CmdLine));
| ^~~
| |
| HashratCtx *
In file included from command-line-args.c:2:
include-exclude.h:8:53: note: expected ‘const char *’ but argument is of type ‘HashratCtx *’
8 | void IncludeExcludeLoadExcludesFromFile(const char *Path, HashratCtx *Ctx);
| ~~~~~~~~~~~~^~~~ command-line-args.c:279:71: warning: passing argument 2 of ‘IncludeExcludeLoadExcludesFromFile’ from incompatible pointer type [-Wincompatible-pointer-types]
279 | else if (strcmp(arg,"-X")==0) IncludeExcludeLoadExcludesFromFile(Ctx, CommandLineNext(&CmdLine));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const char *
include-exclude.h:8:71: note: expected ‘HashratCtx *’ but argument is of type ‘const char *’
8 | void IncludeExcludeLoadExcludesFromFile(const char *Path, HashratCtx *Ctx);
| ~~~~~~~~~~~~^~~
files.c:243:23: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=]
243 | printf("cache %llu %llu %llu\n",XattrStat.st_mtime, FStat->st_mtime, XattrStat.st_mtime - FStat->st_mtime);
| ~~~^
| |
| long long unsigned int
| %lu
files.c:243:28: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘__time_t’ {aka ‘long int’} [-Wformat=]
243 | printf("cache %llu %llu %llu\n",XattrStat.st_mtime, FStat->st_mtime, XattrStat.st_mtime - FStat->st_mtime);
| ~~~^
| |
| long long unsigned int
| %lu
command-line-args.c: In function ‘HMACSetup’:
command-line-args.c:20:7: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
20 | write(1, "Enter HMAC Key: ",16);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
command-line-args.c:33:7: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
33 | write(1,"ERROR: No HMAC Key given!\n",27);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
files.c: In function ‘ProcessItem’:
files.c:651:1: error: implicit declaration of function ‘MapClear’; did you mean ‘MapCreate’? [-Werror=implicit-function-declaration]
651 | MapClear(Visited, NULL);
| ^~~~~~~~
| MapCreate
include-exclude.c: In function ‘IncludeExcludeCheckFilenames’: include-exclude.c:105:13: error: implicit declaration of function ‘fnmatch’; did you mean ‘pmatch’? [-Werror=implicit-function-declaration]
105 | if (fnmatch(mptr,dptr,0)==0) result=CTX_INCLUDE;
| ^~~~~~~
| pmatch
gcc -pie -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -
gcc -pie -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_
gcc -pie -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_
gcc -pie -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_
cc1: some warnings being treated as errors
make[1]: *** [Makefile:28: include-exclude.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 05:37:16 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,335,958 |