Snippets for apl 1.9 from Alpine armv7
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-armv7/testing/gnu-apl/gnu-apl-1.9-r0.log.
-
/usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Wcpp] 1 | #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> | ^~~~~~~ -
Missing_Libraries.cc:98:14: warning: comparing the result of pointer addition '(((const char*)"./configure \'CXX_WERROR=no\' \'--build=armv7-alpine-linux-musleabihf\' \'--host=armv7-alpine-linux-musleabihf\' \'--prefix=/usr\' \'--sysconfdir=/etc\' \'--mandir=/usr/share/man\' \'--localstatedir=/var\' \'build_alias=armv7-alpine-linux-musleabihf\' \'host_alias=armv7-alpine-linux-musleabihf\' \'CC=gcc\' \'CFLAGS=-Os -fstack-clash-protection -Wformat -Werror=format-security\' \'LDFLAGS=-Wl,--as-needed,-O1,--sort-common\' \'CXX=g++\' \'CXXFLAGS=-Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1\'") + 24)' and NULL [-Waddress] 98 | strstr(cfg_CONFIGURE_ARGS, "=no")) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
LvalCell.hh:59:27: warning: array subscript 'const LvalCell[0]' is partly outside array bounds of 'const Cell [0]' [-Warray-bounds=] 59 | { return value.pval.owner; } | ^~~~~ -
/usr/include/c++/13.2.1/bits/char_traits.h:297:16: warning: iteration 1073741823 invokes undefined behavior [-Waggressive-loop-optimizations] 297 | __s[__i] = __a; | ~~~^ -
filter_apl_lines.cc:101:54: warning: format '%lX' expects argument of type 'long unsigned int*', but argument 3 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 101 | const int count = sscanf(buffer, " %lX%c", &addr, &colon); | ~~^ ~~~~~ | | | | | uint64_t* {aka long long unsigned int*} | long unsigned int* | %llX -
filter_apl_lines.cc:124:28: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 124 | printf("%lX %d %d\n", from, int(to - from), src_line); | ~~^ ~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llX