Snippets for nanomsg 1.2.2 from Fedora s390x
Sourced from https://kojipkgs.fedoraproject.org/packages/nanomsg/1.2.2/3.fc45/data/logs/s390x/build.log.
-
/builddir/build/BUILD/nanomsg-1.2.2-build/nanomsg-1.2.2/src/utils/closefd.c:34:9: warning: unused variable ‘rc’ [-Wunused-variable] 34 | int rc; | ^~ -
/builddir/build/BUILD/nanomsg-1.2.2-build/nanomsg-1.2.2/src/transports/utils/base64.c:114:9: warning: initializer-string for array of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (65 chars into 64 available) [-Wunterminated-string-initialization] 114 | "ABCDEFGHIJKLMNOPQRSTUVWXYZ" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/nanomsg-1.2.2-build/nanomsg-1.2.2/src/transports/inproc/sinproc.c:224:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 224 | switch (type) { | ^~~~~~ -
/builddir/build/BUILD/nanomsg-1.2.2-build/nanomsg-1.2.2/src/transports/ws/sws.c:974:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 974 | switch (src) { | ^~~~~~ -
/builddir/build/BUILD/nanomsg-1.2.2-build/nanomsg-1.2.2/tools/options.c:764:45: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 764 | ctx.last_option_usage = calloc (sizeof (char *), num_options); | ^~~~