cd /<<PKGBUILDDIR>>/native/src/main/native/org/mozilla/jss/ssl && /usr/bin/cc -fPIC -D_FORTIFY_SOURCE=2 -Wdate-time -fcf-protection -Werror=format-security -Wformat -fstack-clash-protection -fstack-protector-strong -ffile-prefix-map=/<<PKGBUILDDIR>>=. -O2 -g -O2 -Wall -std=gnu99 -Wno-cast-function-type -Wno-unused-parameter -Wno-unknown-warning-option -Wno-unused-but-set-variable -Werror-implicit-function-declaration -Wno-switch -I/<<PKGBUILDDIR>>/build/include/jss -I/usr/lib/jvm/default-java/include -
In file included from /usr/include/nspr/pratom.h:14,
from /usr/include/nspr/nspr.h:9,
from /<<PKGBUILDDIR>>/native/src/main/native/org/mozilla/jss/ssl/SSLCipher.c:1:
/usr/include/nspr/prtypes.h:556:38: error: size of array ‘arg’ is negative
556 | extern void pr_static_assert(int arg[(condition) ? 1 : -1])
| ^~~ /<<PKGBUILDDIR>>/native/src/main/native/org/mozilla/jss/ssl/SSLCipher.c:37:1: note: in expansion of macro ‘PR_STATIC_ASSERT’
37 | PR_STATIC_ASSERT(PR_ARRAY_SIZE(kea_alg_defs) == ssl_kea_size);
| ^~~~~~~~~~~~~~~~
/usr/include/nspr/prtypes.h:556:38: warning: argument 1 of type ‘int *’ declared as a pointer [-Warray-parameter=]
556 | extern void pr_static_assert(int arg[(condition) ? 1 : -1])
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/native/src/main/native/org/mozilla/jss/ssl/SSLCipher.c:37:1: note: in expansion of macro ‘PR_STATIC_ASSERT’
37 | PR_STATIC_ASSERT(PR_ARRAY_SIZE(kea_alg_defs) == ssl_kea_size);
| ^~~~~~~~~~~~~~~~
/usr/include/nspr/prtypes.h:556:38: note: previously declared as an array ‘int[1]’
556 | extern void pr_static_assert(int arg[(condition) ? 1 : -1])
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/native/src/main/native/org/mozilla/jss/ssl/SSLCipher.c:24:1: note: in expansion of macro ‘PR_STATIC_ASSERT’
24 | PR_STATIC_ASSERT(PR_ARRAY_SIZE(auth_alg_defs) == ssl_auth_size);
| ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
make[4]: *** [CMakeFiles/generate_c.dir/build.make:275: lib/SSLCipher.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 10:53:40 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,371 |